Re: Back button problem

2006-02-04 Thread Deepa Khetan
ur page will be reloaded if u have disabled caching of the pages. Have u
done it?

On 2/4/06, Ranganathan Srinivasan [EMAIL PROTECTED] wrote:

 Hi,

 I am facing a peculiar problem with back button. When I click back button
 o=
 n
 my application, the page is reloaded instead of showing me the values
 which
 I entered in form. Can you tell me what can be done to prevent the
 reloadin=
 g
 of the page.

 Regards,
 Ranganathan




Re: Back button problem

2006-02-04 Thread Ranganathan Srinivasan
Hi,

Thanks for your response,

I have not done anything like disabling cache in my jsp.
Any idea why it is occuring ?
Regards,
Ranganathan


On 2/4/06, Deepa Khetan [EMAIL PROTECTED] wrote:

 ur page will be reloaded if u have disabled caching of the pages. Have u
 done it?

 On 2/4/06, Ranganathan Srinivasan [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I am facing a peculiar problem with back button. When I click back
 button
  o=
  n
  my application, the page is reloaded instead of showing me the values
  which
  I entered in form. Can you tell me what can be done to prevent the
  reloadin=
  g
  of the page.
 
  Regards,
  Ranganathan
 
 




Re: Back Button Problem..

2005-12-25 Thread Srinivasu Gandu
why don't you make your session to false. That should take care of it.

Srinivas Jadcharla [EMAIL PROTECTED] wrote:  You can find some documentation 
in Jakarta Struts 1.1(Wrox Series.) abt how
to use Tokens , but iam not sure how far it is helpful to solve your problem

On 12/19/05, Priya Saloni wrote:

 Here is my Code,

 request.getSession().removeAttribute(sessionState);
 request.getSession().invalidate();
 response.sendRedirect(/BMS/logout_success.jsp);

 It invalidates properly but when i hit back button its asking to
 resubmit.Iread it some where that by implementing Tokens we can avoid
 this
 problem.Any one have idea where i can get the example application to work
 with Transaction Tokens..

 Thanks

 Priya

 On 12/16/05, Martin Gainty wrote:
 
  just as a quick sanity check
 
  HTTPSession strSession = request.getSession(false);
  strSession.removeAttribute(sessionState);
 
  strSession = session.getId();
  while(strSession != null)
  { //session information is still there
  session.invalidate();
  strSession = session.getId();
  }
  response.sendRedirect(/BMS/logout_success.jsp);
 
  //To clear the cache I would place these meta-commands in the head
  must-revalidate


 
  Then again that message appears to be specific to IE on XP SP2
  http://support.microsoft.com/default.aspx?scid=kb;en-us;890178
 
  Anyone else?
  M-
 
  - Original Message -
  From: Priya Saloni 
  To: Struts Users Mailing List 
  Cc: Garner, Nigel M 
  Sent: Friday, December 16, 2005 1:46 PM
  Subject: Re: Back Button Problem..
 
 
  Thanks for your time.But i can't use Appuse at this time because my
  project
  ready for production(Except this problem).
 
  Priya
 
 
  On 12/16/05, Garner, Nigel M wrote:
  
   You could always use a ServletFilter to make sure that users never
 have
   access to pages that you don't want them to. By checking for a user
   object or something like the sessionState object then you could
   determine whether or not the user is logged in. If not then it will
   allow you to redirect the user to where ever you want.
  
   I have used them on a number of occasion for this purpose and I think
   the struts appfuse projected (see struts.sourceforge.net) provide a
   downloadable implementation.
  
   Thanks
   Nigel
  
   -Original Message-
   From: Priya Saloni [mailto:[EMAIL PROTECTED]
   Sent: 16 December 2005 14:49
   To: Struts Users Mailing List
   Subject: Back Button Problem..
  
   Hi there,
  
   I facing a BIG problem in my struts based application.When i logout my
   website and hit back button it showing a page like the following
  
   //
   Warning: Page has Expired
   The page you requested was created using information you submitted in
 a
   form. This page is no longer available. As a security precaution,
   Internet Explorer does not automatically resubmit your information for
   you.
  
   To resubmit your information and view this Web page, click the
   *Refresh*button.
  
  
   //
  
   When i refresh the page its showing the secured web pages too.My code
 in
   LogoutAction is as follows
  
   request.getSession().removeAttribute(sessionState);
   request.getSession().invalidate();
   response.sendRedirect(/BMS/logout_success.jsp);
  
   sessionState is the VO where iam keeping all the objects i want to
 keep
   in session..Is there any way in struts to make sure that it won't
   display the page like above..
  
   Thanks
  
   Priya.
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 




--
Thanks  RegardsSrinivas732-648-9421(Cell)




Thanks!
Have a great day!!
Srini

-
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.

Re: Back Button Problem..

2005-12-22 Thread Marcelo Morales

Hello
On Dec 16, 2005, at 10:48 AM, Priya Saloni wrote:


Hi there,

I facing a BIG problem in my struts based application.When i logout my
website and hit back button it showing a page like the following

//
 Warning: Page has Expired
The page you requested was created using information you submitted  
in a
form. This page is no longer available. As a security precaution,  
Internet

Explorer does not automatically resubmit your information for you.

To resubmit your information and view this Web page, click the  
*Refresh*button.




You solve this issue with a redirtect-after-post hack on the logoff  
action.




//

When i refresh the page its showing the secured web pages too.


This you solve by putting nocache=true in the controller element in  
the struts configuration file




My code in
LogoutAction is as follows

request.getSession().removeAttribute(sessionState);
request.getSession().invalidate();
response.sendRedirect(/BMS/logout_success.jsp);


This is correct. Should do the tick



sessionState is the VO where iam keeping all the objects  i want to  
keep in
session..Is there any way in struts to make sure that it won't  
display the

page like above..

Thanks

Priya.



Hope It helps


Marcelo Morales


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Back Button Problem..

2005-12-22 Thread Priya Saloni
Hi  Marcelo,

//You solve this issue with a redirtect-after-post hack on the logoff
//action.

Thats what iam doing in the following code..

request.getSession().removeAttribute(sessionState);
request.getSession().invalidate();
response.sendRedirect(/BMS/logout_success.jsp);
//This you solve by putting nocache=true in the controller element in
//the struts configuration file

here is the code i added into my struts-config.xml file


action-mappings

//Different Actions..

/action-mappings

controller nocache=true

/controller
Iam Still Getting the same problem.In IE i have to hit back button severel
times continuously to to the secured pages after logout.But in Firefox its
displaying with Single hit to Back Button.

Thanks For Your time

Priya


On 12/22/05, Marcelo Morales [EMAIL PROTECTED] wrote:

 Hello
 On Dec 16, 2005, at 10:48 AM, Priya Saloni wrote:

  Hi there,
 
  I facing a BIG problem in my struts based application.When i logout my
  website and hit back button it showing a page like the following
 
  //
   Warning: Page has Expired
  The page you requested was created using information you submitted
  in a
  form. This page is no longer available. As a security precaution,
  Internet
  Explorer does not automatically resubmit your information for you.
 
  To resubmit your information and view this Web page, click the
  *Refresh*button.
 

 You solve this issue with a redirtect-after-post hack on the logoff
 action.

 
  //
 
  When i refresh the page its showing the secured web pages too.

 This you solve by putting nocache=true in the controller element in
 the struts configuration file


  My code in
  LogoutAction is as follows
 
  request.getSession().removeAttribute(sessionState);
  request.getSession().invalidate();
  response.sendRedirect(/BMS/logout_success.jsp);

 This is correct. Should do the tick

 
  sessionState is the VO where iam keeping all the objects  i want to
  keep in
  session..Is there any way in struts to make sure that it won't
  display the
  page like above..
 
  Thanks
 
  Priya.


 Hope It helps


 Marcelo Morales


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: Back Button Problem..

2005-12-22 Thread Marcelo Morales

Hello again
On Dec 22, 2005, at 3:27 PM, Priya Saloni wrote:


Hi  Marcelo,

//You solve this issue with a redirtect-after-post hack on the logoff
//action.

Thats what iam doing in the following code..

request.getSession().removeAttribute(sessionState);
request.getSession().invalidate();
response.sendRedirect(/BMS/logout_success.jsp);


Yep, That's quite odd. I suppose you must be doing some nonstandard  
processing. I was having throuble with this issue myself. I kindda  
solved it the way everybody else told you to.


This is as usefull as i can be:

First, debug your HTTP conversations. Use an HTTP Monitor (something  
like NetBeans' HTTP monitor) or a tool like wget (use it with the -S  
modifier). Ckeck for the next headers: Pragma, Expires, Client-Date  
and Date.


Secondly, check for the standard browser configuration. In IEs,   
Mozillas and operas there are some nasty configurations regarding  
history and cache. So I'm not sure if there is a complete solution  
available. Had no time to test most of nonstandard configurations.  
Last time i checked, Opera still showed the secured pages when going  
back.


Finally, if you check out the javadoc for RequestProcessor, there is  
this note:


method:
processNoCache

on class:
org.apache.struts.action.RequestProcessor

quot
NOTE - This header will be overridden automatically if a  
RequestDispatcher.forward call is ultimately invoked.

/quot

I'm not sure what it means but you may take a look.

There were some discusions back on dec 1st or 3rd on this same list  
regarding this same problem. I think this discussion comes and goes  
every couple of months or so. Is there already an answer on the  
archives?. i bet there is. We may be just making more noise than we  
should.


//This you solve by putting nocache=true in the controller  
element in

//the struts configuration file

here is the code i added into my struts-config.xml file


action-mappings

//Different Actions..

/action-mappings

controller nocache=true

/controller
Iam Still Getting the same problem.In IE i have to hit back button  
severel
times continuously to to the secured pages after logout.But in  
Firefox its

displaying with Single hit to Back Button.

Thanks For Your time

Priya


Hope i helps

Regards

Marcelo Morales

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Back Button Problem..

2005-12-21 Thread Srinivas Jadcharla
You can find some documentation in Jakarta Struts 1.1(Wrox Series.) abt how
to use Tokens , but iam not sure how far it is helpful to solve your problem

On 12/19/05, Priya Saloni [EMAIL PROTECTED] wrote:

 Here is my Code,

   request.getSession().removeAttribute(sessionState);
   request.getSession().invalidate();
   response.sendRedirect(/BMS/logout_success.jsp);

 It invalidates properly but when i hit back button its asking to
 resubmit.Iread it some where that by implementing Tokens we can avoid
 this
 problem.Any one have idea where i can get the example application to work
 with Transaction Tokens..

 Thanks

 Priya

 On 12/16/05, Martin Gainty [EMAIL PROTECTED] wrote:
 
  just as a quick sanity check
 
  HTTPSession strSession = request.getSession(false);
  strSession.removeAttribute(sessionState);
 
  strSession = session.getId();
  while(strSession != null)
  { //session information is still there
  session.invalidate();
  strSession = session.getId();
  }
  response.sendRedirect(/BMS/logout_success.jsp);
 
  //To clear the cache I would place these meta-commands in the head
  meta http-equiv=Cache-Control content=no-cache, no-store,
  must-revalidate
  meta http-equiv=pragma content=no-cache
  meta http-equiv=expires content=0
 
  Then again that message appears to be specific to IE on XP SP2
  http://support.microsoft.com/default.aspx?scid=kb;en-us;890178
 
  Anyone else?
  M-
 
  - Original Message -
  From: Priya Saloni [EMAIL PROTECTED]
  To: Struts Users Mailing List user@struts.apache.org
  Cc: Garner, Nigel M [EMAIL PROTECTED]
  Sent: Friday, December 16, 2005 1:46 PM
  Subject: Re: Back Button Problem..
 
 
  Thanks for your time.But i can't use Appuse at this time because my
  project
  ready for production(Except this problem).
 
  Priya
 
 
  On 12/16/05, Garner, Nigel M [EMAIL PROTECTED] wrote:
  
   You could always use a ServletFilter to make sure that users never
 have
   access to pages that you don't want them to. By checking for a user
   object or something like the sessionState object then you could
   determine whether or not the user is logged in. If not then it will
   allow you to redirect the user to where ever you want.
  
   I have used them on a number of occasion for this purpose and I think
   the struts appfuse projected (see struts.sourceforge.net) provide a
   downloadable implementation.
  
   Thanks
   Nigel
  
   -Original Message-
   From: Priya Saloni [mailto:[EMAIL PROTECTED]
   Sent: 16 December 2005 14:49
   To: Struts Users Mailing List
   Subject: Back Button Problem..
  
   Hi there,
  
   I facing a BIG problem in my struts based application.When i logout my
   website and hit back button it showing a page like the following
  
   //
   Warning: Page has Expired
   The page you requested was created using information you submitted in
 a
   form. This page is no longer available. As a security precaution,
   Internet Explorer does not automatically resubmit your information for
   you.
  
   To resubmit your information and view this Web page, click the
   *Refresh*button.
  
  
   //
  
   When i refresh the page its showing the secured web pages too.My code
 in
   LogoutAction is as follows
  
  request.getSession().removeAttribute(sessionState);
  request.getSession().invalidate();
  response.sendRedirect(/BMS/logout_success.jsp);
  
   sessionState is the VO where iam keeping all the objects  i want to
 keep
   in session..Is there any way in struts to make sure that it won't
   display the page like above..
  
   Thanks
  
   Priya.
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 




--
Thanks  RegardsSrinivas732-648-9421(Cell)


Re: Back Button Problem..

2005-12-19 Thread Priya Saloni
Here is my Code,

   request.getSession().removeAttribute(sessionState);
   request.getSession().invalidate();
   response.sendRedirect(/BMS/logout_success.jsp);

It invalidates properly but when i hit back button its asking to
resubmit.Iread it some where that by implementing Tokens we can avoid
this
problem.Any one have idea where i can get the example application to work
with Transaction Tokens..

Thanks

Priya

On 12/16/05, Martin Gainty [EMAIL PROTECTED] wrote:

 just as a quick sanity check

 HTTPSession strSession = request.getSession(false);
 strSession.removeAttribute(sessionState);

 strSession = session.getId();
 while(strSession != null)
 { //session information is still there
 session.invalidate();
 strSession = session.getId();
 }
 response.sendRedirect(/BMS/logout_success.jsp);

 //To clear the cache I would place these meta-commands in the head
 meta http-equiv=Cache-Control content=no-cache, no-store,
 must-revalidate
 meta http-equiv=pragma content=no-cache
 meta http-equiv=expires content=0

 Then again that message appears to be specific to IE on XP SP2
 http://support.microsoft.com/default.aspx?scid=kb;en-us;890178

 Anyone else?
 M-

 - Original Message -
 From: Priya Saloni [EMAIL PROTECTED]
 To: Struts Users Mailing List user@struts.apache.org
 Cc: Garner, Nigel M [EMAIL PROTECTED]
 Sent: Friday, December 16, 2005 1:46 PM
 Subject: Re: Back Button Problem..


 Thanks for your time.But i can't use Appuse at this time because my
 project
 ready for production(Except this problem).

 Priya


 On 12/16/05, Garner, Nigel M [EMAIL PROTECTED] wrote:
 
  You could always use a ServletFilter to make sure that users never have
  access to pages that you don't want them to. By checking for a user
  object or something like the sessionState object then you could
  determine whether or not the user is logged in. If not then it will
  allow you to redirect the user to where ever you want.
 
  I have used them on a number of occasion for this purpose and I think
  the struts appfuse projected (see struts.sourceforge.net) provide a
  downloadable implementation.
 
  Thanks
  Nigel
 
  -Original Message-
  From: Priya Saloni [mailto:[EMAIL PROTECTED]
  Sent: 16 December 2005 14:49
  To: Struts Users Mailing List
  Subject: Back Button Problem..
 
  Hi there,
 
  I facing a BIG problem in my struts based application.When i logout my
  website and hit back button it showing a page like the following
 
  //
  Warning: Page has Expired
  The page you requested was created using information you submitted in a
  form. This page is no longer available. As a security precaution,
  Internet Explorer does not automatically resubmit your information for
  you.
 
  To resubmit your information and view this Web page, click the
  *Refresh*button.
 
 
  //
 
  When i refresh the page its showing the secured web pages too.My code in
  LogoutAction is as follows
 
 request.getSession().removeAttribute(sessionState);
 request.getSession().invalidate();
 response.sendRedirect(/BMS/logout_success.jsp);
 
  sessionState is the VO where iam keeping all the objects  i want to keep
  in session..Is there any way in struts to make sure that it won't
  display the page like above..
 
  Thanks
 
  Priya.
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: Back Button Problem..

2005-12-16 Thread Priya Saloni
Thanks for your time.But i can't use Appuse at this time because my project
ready for production(Except this problem).

Priya


On 12/16/05, Garner, Nigel M [EMAIL PROTECTED] wrote:

 You could always use a ServletFilter to make sure that users never have
 access to pages that you don't want them to. By checking for a user
 object or something like the sessionState object then you could
 determine whether or not the user is logged in. If not then it will
 allow you to redirect the user to where ever you want.

 I have used them on a number of occasion for this purpose and I think
 the struts appfuse projected (see struts.sourceforge.net) provide a
 downloadable implementation.

 Thanks
 Nigel

 -Original Message-
 From: Priya Saloni [mailto:[EMAIL PROTECTED]
 Sent: 16 December 2005 14:49
 To: Struts Users Mailing List
 Subject: Back Button Problem..

 Hi there,

 I facing a BIG problem in my struts based application.When i logout my
 website and hit back button it showing a page like the following

 //
 Warning: Page has Expired
 The page you requested was created using information you submitted in a
 form. This page is no longer available. As a security precaution,
 Internet Explorer does not automatically resubmit your information for
 you.

 To resubmit your information and view this Web page, click the
 *Refresh*button.


 //

 When i refresh the page its showing the secured web pages too.My code in
 LogoutAction is as follows

request.getSession().removeAttribute(sessionState);
request.getSession().invalidate();
response.sendRedirect(/BMS/logout_success.jsp);

 sessionState is the VO where iam keeping all the objects  i want to keep
 in session..Is there any way in struts to make sure that it won't
 display the page like above..

 Thanks

 Priya.



Re: Back Button Problem..

2005-12-16 Thread Michael Jouravlev
For some reason your redirect does not work. Maybe session is not
invalidated as well? Is this piece of code ever evaluated?

Michael.

On 12/16/05, Priya Saloni [EMAIL PROTECTED] wrote:
 Hi there,

 I facing a BIG problem in my struts based application.When i logout my
 website and hit back button it showing a page like the following

 //
  Warning: Page has Expired
 The page you requested was created using information you submitted in a
 form. This page is no longer available. As a security precaution, Internet
 Explorer does not automatically resubmit your information for you.

 To resubmit your information and view this Web page, click the 
 *Refresh*button.


 //

 When i refresh the page its showing the secured web pages too.My code in
 LogoutAction is as follows

 request.getSession().removeAttribute(sessionState);
 request.getSession().invalidate();
 response.sendRedirect(/BMS/logout_success.jsp);

 sessionState is the VO where iam keeping all the objects  i want to keep in
 session..Is there any way in struts to make sure that it won't display the
 page like above..

 Thanks

 Priya.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Back Button Problem..

2005-12-16 Thread Martin Gainty

just as a quick sanity check

HTTPSession strSession = request.getSession(false);
strSession.removeAttribute(sessionState);

strSession = session.getId();
while(strSession != null)
{ //session information is still there
session.invalidate();
strSession = session.getId();
}
response.sendRedirect(/BMS/logout_success.jsp);

//To clear the cache I would place these meta-commands in the head
meta http-equiv=Cache-Control content=no-cache, no-store, 
must-revalidate

meta http-equiv=pragma content=no-cache
meta http-equiv=expires content=0

Then again that message appears to be specific to IE on XP SP2
http://support.microsoft.com/default.aspx?scid=kb;en-us;890178

Anyone else?
M-

- Original Message - 
From: Priya Saloni [EMAIL PROTECTED]

To: Struts Users Mailing List user@struts.apache.org
Cc: Garner, Nigel M [EMAIL PROTECTED]
Sent: Friday, December 16, 2005 1:46 PM
Subject: Re: Back Button Problem..


Thanks for your time.But i can't use Appuse at this time because my project
ready for production(Except this problem).

Priya


On 12/16/05, Garner, Nigel M [EMAIL PROTECTED] wrote:


You could always use a ServletFilter to make sure that users never have
access to pages that you don't want them to. By checking for a user
object or something like the sessionState object then you could
determine whether or not the user is logged in. If not then it will
allow you to redirect the user to where ever you want.

I have used them on a number of occasion for this purpose and I think
the struts appfuse projected (see struts.sourceforge.net) provide a
downloadable implementation.

Thanks
Nigel

-Original Message-
From: Priya Saloni [mailto:[EMAIL PROTECTED]
Sent: 16 December 2005 14:49
To: Struts Users Mailing List
Subject: Back Button Problem..

Hi there,

I facing a BIG problem in my struts based application.When i logout my
website and hit back button it showing a page like the following

//
Warning: Page has Expired
The page you requested was created using information you submitted in a
form. This page is no longer available. As a security precaution,
Internet Explorer does not automatically resubmit your information for
you.

To resubmit your information and view this Web page, click the
*Refresh*button.


//

When i refresh the page its showing the secured web pages too.My code in
LogoutAction is as follows

   request.getSession().removeAttribute(sessionState);
   request.getSession().invalidate();
   response.sendRedirect(/BMS/logout_success.jsp);

sessionState is the VO where iam keeping all the objects  i want to keep
in session..Is there any way in struts to make sure that it won't
display the page like above..

Thanks

Priya.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Back Button Problem..

2005-12-16 Thread Michael Jouravlev
His browser message means that browser was not redirected at all.

On 12/16/05, Martin Gainty [EMAIL PROTECTED] wrote:
 just as a quick sanity check

 HTTPSession strSession = request.getSession(false);
 strSession.removeAttribute(sessionState);

 strSession = session.getId();
 while(strSession != null)
 { //session information is still there
 session.invalidate();
 strSession = session.getId();
 }
 response.sendRedirect(/BMS/logout_success.jsp);

 //To clear the cache I would place these meta-commands in the head
 meta http-equiv=Cache-Control content=no-cache, no-store,
 must-revalidate
 meta http-equiv=pragma content=no-cache
 meta http-equiv=expires content=0

 Then again that message appears to be specific to IE on XP SP2
 http://support.microsoft.com/default.aspx?scid=kb;en-us;890178

 Anyone else?
 M-

 - Original Message -
 From: Priya Saloni [EMAIL PROTECTED]
 To: Struts Users Mailing List user@struts.apache.org
 Cc: Garner, Nigel M [EMAIL PROTECTED]
 Sent: Friday, December 16, 2005 1:46 PM
 Subject: Re: Back Button Problem..


 Thanks for your time.But i can't use Appuse at this time because my project
 ready for production(Except this problem).

 Priya


 On 12/16/05, Garner, Nigel M [EMAIL PROTECTED] wrote:
 
  You could always use a ServletFilter to make sure that users never have
  access to pages that you don't want them to. By checking for a user
  object or something like the sessionState object then you could
  determine whether or not the user is logged in. If not then it will
  allow you to redirect the user to where ever you want.
 
  I have used them on a number of occasion for this purpose and I think
  the struts appfuse projected (see struts.sourceforge.net) provide a
  downloadable implementation.
 
  Thanks
  Nigel
 
  -Original Message-
  From: Priya Saloni [mailto:[EMAIL PROTECTED]
  Sent: 16 December 2005 14:49
  To: Struts Users Mailing List
  Subject: Back Button Problem..
 
  Hi there,
 
  I facing a BIG problem in my struts based application.When i logout my
  website and hit back button it showing a page like the following
 
  //
  Warning: Page has Expired
  The page you requested was created using information you submitted in a
  form. This page is no longer available. As a security precaution,
  Internet Explorer does not automatically resubmit your information for
  you.
 
  To resubmit your information and view this Web page, click the
  *Refresh*button.
 
 
  //
 
  When i refresh the page its showing the secured web pages too.My code in
  LogoutAction is as follows
 
 request.getSession().removeAttribute(sessionState);
 request.getSession().invalidate();
 response.sendRedirect(/BMS/logout_success.jsp);
 
  sessionState is the VO where iam keeping all the objects  i want to keep
  in session..Is there any way in struts to make sure that it won't
  display the page like above..
 
  Thanks
 
  Priya.
 

 -
 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]



Re: Back Button Problem

2004-09-12 Thread venkat raju
Hope the following helps to get to the root of the
problem;

I am using post method to submit the form.  And
sometimes when I click on back button, it says
Handler parameter not found.  Is it some known bug
in Struts or Tiles?


--- venkat raju [EMAIL PROTECTED] wrote:

 Hi All,
 
   I have got a strange problem.  I am using Struts
 1.1
 and tiles.  When I click on the back button, I want
 the page to be loaded from cache.  But to my
 surprise,
 its behaving strange.
 
   For instance, I open a new browser instance and I
 open Page1. Then I submit this page to get Page2. 
 Now
 if I click back button I am getting Page1(all the
 form
 fields are empty here).  Now if I click back button
 again, I am getting Page1 again(all the form fields
 are pre populated here).  I am running out of the
 ways
 to investigate this issue.
 
   Can anyone help please
 
 A Million Thanks,
 Vraj
 
 
   
 __
 Do you Yahoo!?
 New and Improved Yahoo! Mail - Send 10MB messages!
 http://promotions.yahoo.com/new_mail 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 




__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]