Re: Back button without getting Page expired

2002-11-14 Thread L Teitsma
IL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Back button without getting Page expired Date: Thu, 14 Nov 2002 13:02:56 +0100 2002. november 14. 12:56 dátummal L Teitsma ezt í

Re: Back button without getting Page expired

2002-11-14 Thread Gemes Tibor
2002. november 14. 12:56 dátummal L Teitsma ezt írtad: > I have to set nocache to true, because some of my Actions aren't executed > because they or their URL's are cached. The consequence is that the > back-button on my errorpage results in a "Page expired". This because it a > javascript:history

RE: back button

2002-11-07 Thread Trieu, Danny
[mailto:gdelgado@;oceanobjects.com] Sent: Thursday, November 07, 2002 11:54 AM To: Struts Users Mailing List Subject: Re: back button Can the isTokenValid and saveToken be in the same Action ? Gus Delgado wrote: > I'm trying to use the saveToken function but is not working here is > wha

Re: back button

2002-11-07 Thread Gus Delgado
Else, there isn't a match with the token which mean out of sync Then you can handle the condition as if it is out of sync. Hope this would help. danny -Original Message- From: Gus Delgado [mailto:gdelgado@;oceanobjects.com] Sent: Wednesday, October 30, 2002 8:49 AM To: Struts Users Ma

Re: back button

2002-11-04 Thread Gus Delgado
an handle the condition as if it is out of sync. Hope this would help. danny -Original Message- From: Gus Delgado [mailto:gdelgado@;oceanobjects.com] Sent: Wednesday, October 30, 2002 8:49 AM To: Struts Users Mailing List Subject: Re: back button please explain the controller to no-cache

RE: back button

2002-10-30 Thread Trieu, Danny
mean out of sync Then you can handle the condition as if it is out of sync. Hope this would help. danny -Original Message- From: Gus Delgado [mailto:gdelgado@;oceanobjects.com] Sent: Wednesday, October 30, 2002 8:49 AM To: Struts Users Mailing List Subject: Re: back button please explai

Re: back button

2002-10-30 Thread Gus Delgado
7:29 AM To: [EMAIL PROTECTED] Subject: Re: back button That is an absolutely hideous solution to the problem. Breaking the user's back button will only make them angry. David From: "Affan Qureshi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" &

RE: back button

2002-10-30 Thread Trieu, Danny
Use transaction token to guaranty your transaction. And don't forget To set your controller to no-cache. -Original Message- From: David Graham [mailto:dgraham1980@;hotmail.com] Sent: Wednesday, October 30, 2002 7:29 AM To: [EMAIL PROTECTED] Subject: Re: back button That

Re: [Re: back button]

2002-10-30 Thread Josh Berry
Responses below. I actually marked the quotes this time, sorry for forgetting on my last. :( "David Graham" <[EMAIL PROTECTED]> wrote: > That is an absolutely hideous solution to the problem. Breaking > the user's back button will only make them angry. I agree, though I see attempts at just su

Re: back button

2002-10-30 Thread David Graham
That is an absolutely hideous solution to the problem. Breaking the user's back button will only make them angry. David From: "Affan Qureshi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing L

Re: back button

2002-10-30 Thread Affan Qureshi
You can disable the back button by using JavaScript history.forward() at the top of your page. But i dont know if that solves your problem. - Original Message - From: "Gus Delgado" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 6:3

RE: back button

2002-10-30 Thread Arnaud HERITIER
You can use Action.saveToken(...) to create a transaction in the first action. Then you use in your last action Action.isTokenValid(...) to verify if the user can commit his response. if(isTokenValid(...)){ // do your validation // if validation is done successfully re

Re: Back Button Shown 'Page Expired' on IE ..... What really happens? ....

2002-09-11 Thread Axel Stahlhut
t; <[EMAIL PROTECTED]> Sent: Tuesday, September 10, 2002 8:55 PM Subject: RE: Back Button Shown 'Page Expired' on IE . What really happens? > No, this has nothing to do with no-cache setting. Even with Struts setting > for the controller setting to be no-cache, I

RE: Back Button Shown 'Page Expired' on IE ..... What really happens? ....

2002-09-10 Thread Trieu, Danny
hy it happens sometime with form submittion, especially file upload. Thanks, danny -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 11:43 AM To: Struts Users Mailing List Subject: Re: Back Button Shown 'Page Expired' o

Re: Back Button Shown 'Page Expired' on IE ..... What really happens? ....

2002-09-10 Thread Ashish Kulkarni
Hi, check if u have following lines in your html or following code in your jsp <%response.setHeader("Cache-Control","no-store");%> if yes, then it tells the browser that is should not load the page from cache and load a fresh page , and so u get that message Ashish --- "Trieu, Danny" <[EMAIL P

RE: Back button skip a page?

2002-06-07 Thread Jerome Jacobsen
Location.replace worked perfectly. Thanks. -Original Message- From: Bartley, Chris P [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 6:22 PM To: 'Struts Users Mailing List' Subject: RE: Back button skip a page? Check out the javascript method "location.repla

RE: Back button skip a page?

2002-06-06 Thread Bartley, Chris P
Check out the javascript method "location.replace()"...i think that'll do exactly whatcha want. If i remember/understand correctly, i think your wait page could do a location.replace("results.htm"); So, then, on results.htm, clicking the back button should indeed go to the form page since the

RE: Back button skip a page?

2002-06-06 Thread James Mitchell
You are trying to change the behavior of the users browser. My best advice Don’t do that! Maybe you can salvage a hack from this http://developer.irt.org/script/311.htm Best of luck!!! James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network

Re: Back button skip a page?

2002-06-06 Thread Roy Truelove
Maybe in your "show results" action, a session variable can be set that the person saw the results. Then if they go to the "Request is being processed" page, the page can check to see the the results were seen, and if yes, automatically redirect to the results page. You'll probably have to make

Re: "Back" button

2002-01-22 Thread T. Wheeler
It should be pretty easy: 1. On your JSP page, make a submit button that is named "back" 2. In your action class, have something like this near the top of your perform() method: if (request.getParameter("back") != null) { // redirect them to some previous page } Just make sure that,

Re: "Back" button

2002-01-08 Thread Kevin O'Neill
George, > Does anyone know how to code a "Back" button -- one that works like the > I.E. "Back" toolbar button? I currently use one that requires JavaScript > and would like to switch to one that works with Struts/JSP but is not > dependent upon JavaScript. There are methods (such as keeping a s

Re: "Back" button

2002-01-08 Thread Ted Husted
The client stores the history list, and so you need to use a client-side technique to do anything like this. Struts is not really involved. There's often been talk about keeping your own history list in the user's session, but I don't remember ever seeing an implementation posted. -- Ted Huste

RE: back button causes form resubmit

2001-11-26 Thread Markus Massak
see a good reference implementation in David M. Geary's book "advanced Java Server Pages" -Original Message- From: Rob Breeds [mailto:[EMAIL PROTECTED]] Sent: Montag, 26. November 2001 12:08 To: Struts Users Mailing List Subject: Re: back button causes form resubmit And

Re: back button causes form resubmit

2001-11-26 Thread Rob Breeds
And the answer was... use a transaction token! The archives REALLY are useful sometimes! :) Rob Rob

RE: Back Button in Struts

2001-08-20 Thread Pete Gordon
- From: MacKellar, Kimberly [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 6:01 PM To: '[EMAIL PROTECTED]' Subject: RE: Back Button in Struts Where do you need to set these header values (Action, ActionServlet...)? I added them to my Action classes and it doesn't seem to

RE: Back Button in Struts

2001-08-20 Thread MacKellar, Kimberly
, Kimberly Sent: Monday, August 20, 2001 5:01 PM To: '[EMAIL PROTECTED]' Subject: RE: Back Button in Struts Where do you need to set these header values (Action, ActionServlet...)? I added them to my Action classes and it doesn't seem to do anything. Kim MacKellar -Original Me

RE: Back Button in Struts

2001-08-20 Thread MacKellar, Kimberly
PROTECTED]' Subject: RE: Back Button in Struts You can also look at putting in the Expires HTTP Header parameter to force the client to hit the server each time. This forces the back button to go back to the webserver. //These Response Headers prevent Client side cac

RE: Back Button in Struts

2001-08-20 Thread Pete Gordon
Original Message- From: Kyle Robinson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 12:38 PM To: '[EMAIL PROTECTED]' Subject: RE: Back Button in Struts You can't really use the javascript:history.back() function to hit the Action class as the history.back does not e

RE: Back Button in Struts

2001-08-20 Thread Kyle Robinson
You can't really use the javascript:history.back() function to hit the Action class as the history.back does not even hit the webserver. It is an internal "client" operation, like most javascript is. One solution you might want to try is to create a stack object for each session to track what "a