You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pierrot <ma...@roomity.com> on 2006/03/25 10:11:51 UTC

Using the nocache attribute of the tag controller in struts-config.xml

Hello, I'm trying to set the nocache attribute of the tag controller of the struts-config.xml to false so that my JSP pages won't be cached by either IE or Firefox but to no avail. I've also included the following script to the mainlayout.jsp file from which all my JSP files extend: My application also use Hibernate and Tiles. Could it be that it's not possible to disable the caching of the JSP pages when using Tiles? Regards.


Broadband interface (RIA) + mail box saftey = http://Struts_User_List.roomity.com
*Your* clubs, no sign up to read, ad supported; try broadband internet. 

Re: Using the nocache attribute of the tag controller in struts-config.xml

Posted by Laurie Harper <la...@holoweb.net>.
Pierrot wrote:
> Hello, I'm trying to set the nocache attribute of the tag controller of the struts-config.xml to false so that my JSP pages won't be cached by either IE or Firefox but to no avail. I've also included the following script to the mainlayout.jsp file from which all my JSP files extend: My application also use Hibernate and Tiles. Could it be that it's not possible to disable the caching of the JSP pages when using Tiles? Regards.

The script you mentioned seems to be missing from your post, but in any 
case, the problem is probably that nocache must be set to *true* to 
disable caching, not false. See the documentation in the 
struts-config*.dtd file.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org