For 1.0.2, set the servlet init param "nocache" to "true"
Gus Delgado wrote:
too late in the project to run that risk!!
Alvarado, Juan (c) wrote:
Oh yeah that would be a problem. Can't you upgrade?? It's suppose to be
backwards compatible.
-----Original Message-----
From: Gus Delgado [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 12:18 PM
To: Struts Users Mailing List
Subject: Re: Cache
I think I'm out of luck cause I'm using Struts 1.0.2, and the
RequestProcessor is not part of that version.
-Gus
Alvarado, Juan (c) wrote:
Yeah sure I apologize for not being more detailed.
It goes in your struts-config file. I have mine right after the action
mappings, but it might not matter where you put it.
Your subclass would be a subclass of
org.apache.struts.action.RequestProcessor. The subclass doesn't have
to do
anything initially, but in the event you ever need to implement some
of the
methods in it in your application, you have a class ready for it.
I would suggest you read the javadoc on this class.
Good luck.
-----Original Message-----
From: ajTreece [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 11:55 AM
To: Struts Users Mailing List
Subject: Re: Cache
Juan....
Could you be a little more specific... I'm not familiar with
<controller ...>. Where does it actually go and what would my
processor subclass be?
Thanks...
Alvarado, Juan (c) wrote:
We have used the following as a means of expiring pages. This way
when the
user hits the back button they will get a page has expired message.
<controller locale="true" nocache="true"
processorClass="your.processor.subclass">
-----Original Message-----
From: Gus Delgado [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 10:54 AM
To: Struts Users Mailing List
Subject: Cache
Is there any way to clean the cache from an Action. I have a
LogoutAction that gets all of the Attributes in the session by name
and removes all of them + it invalidates the session, but I also
want to clear the cache so that when the user hits the back button
nothing will be there.
Is there any way to do this?
-thanks
Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech <http://www.dotech.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]