File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Changes not effect in JSP" Watch "Changes not effect in JSP" New topic

Changes not effect in JSP

Perumalla LakshmanaRao

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?

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.

Consultant, Sima Solutions
I agree. Here's the link:
subject: Changes not effect in JSP
It's not a secret anymore!