*
The moose likes Struts and the fly likes Changes not effect in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Changes not effect in JSP" Watch "Changes not effect in JSP" New topic
Author

Changes not effect in JSP

Perumalla LakshmanaRao
Greenhorn

Joined: Sep 03, 2006
Posts: 9
Hi All,
My problem is I put some code into comment in the JSP but that changes are not refelected into the screen.It's showing the previos screen only.After that I deleted that comment part code,in this case also it's showing the same screen.This changes are not reflected into the front end screen.If anyone knows how to solve this problem,please help to me.
Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
to ask the trivial:

- is your browser cache deactived?
- is tomcat reloading its context?

jan
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Try putting the following in your struts-config.xml file:

With this directive, Struts will insert code into every page to indicate that the page is not to be cached by the browser.


Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Changes not effect in JSP
 
Similar Threads
REFRESH A JSP PAGE
two same paths in different configuration files - Which one will load?
Image disappear
Trouble with dynamic text field in table
Pls help- write a code with anonymos class, indicate with a comment line in the code