aspose file tools*
The moose likes Struts and the fly likes  correct usage of: controller nocache= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " correct usage of: controller nocache="true"/" Watch " correct usage of: controller nocache="true"/" New topic
Author

correct usage of: controller nocache="true"/

Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
I'm trying to avoid caching in my jsp pages, I learned that it is possible to use the noncache=true in the controller. I did this:

struts-config.xml


but that doesn't solve the problem (pages are still cached and I see information of different forms :-( )

does anyone know how to correctly use it? Am I on the right track?
thanks
Dom Lassy
Ranch Hand

Joined: May 05, 2006
Posts: 181
Are your form beans in session scope?
Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
well, I 'prepare' them before they get into the form, so no...it's not session.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: correct usage of: controller nocache="true"/
 
Similar Threads
RequestProcessor problem on a cluster
Changes not effect in JSP
Page not refreshing
how to remove history from jsp pages
Configure caching