This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes logout problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "logout problem" Watch "logout problem" New topic
Author

logout problem

Aditi agarwal
Ranch Hand

Joined: Feb 23, 2011
Posts: 225
i am developing an application in struts

my logout button is working but after including:-

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="expires" content="now">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">



my page is also going back

any suggestions please

what should i do?
debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

Hi Aditi,

hope these link would help you :
http://www.coderanch.com/how-to/java/NoCacheHeaders
http://www.coderanch.com/t/475186/Struts/pressing-back-button-after-logout
http://www.coderanch.com/t/58379/Struts/Back-button-logout
Aditi agarwal
Ranch Hand

Joined: Feb 23, 2011
Posts: 225
thank you debraj
thank you so much

it worked
debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

You are welcome.
 
Don't get me started about those stupid light bulbs.
 
subject: logout problem