it may seems dublicate but i tried old posts about this problem and still can not solve...
with Eclipse Juno and Tomcat 7 , i develop dynamic web application in Eclipse . i have 2 Java Servlet under some packages , in first one i set some attributes to request and forward it to second Servlet with RequestDispacter and print this attribute in second Servlet with out.println....
when i change request or session attribute and forward to second one . page is not updated .
i restart tomcat or restart eclipse nothing changed.. i publish tomcat with Ctrl + Alt + P everytime but nothing changed ... i try external browser (Firefox and Internet Explorer) and delete caches but nothing changed ..
in Tomcat Server "Auto publish when resources changed" is enabled but nothing changed.
i try to Eclipse Luna and Tomcat 8 but it is has same problem . i did everything again but , still page is not updated !! how to make it updated when change something in code..
i am in stuck now , any advice would be great ...
Make sure Project>Build Automatically is enabled.
Also try Tomcat>Clean...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With