Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

correct usage of: controller nocache="true"/

 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are your form beans in session scope?
 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well, I 'prepare' them before they get into the form, so no...it's not session.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic