Supporting a back button without JavaScript

2004-02-09 Thread Brian Ivey
Dear List, I have to give my application users a way to navigate to the previous page without using the browser back button. Program constraints prevent me from using JavaScript to solve this. Because many JSP pages use the same Actions I am unable to simply hard code the referring page

Re: Supporting a back button without JavaScript

2004-02-09 Thread James Mitchell
On Mon, 9 Feb 2004, Brian Ivey wrote: Dear List, I have to give my application users a way to navigate to the previous page without using the browser back button. Program constraints prevent me from using JavaScript to solve this. Because many JSP pages use the same Actions I am unable

RE: Supporting a back button without JavaScript

2004-02-09 Thread anant.parnami
this path in each and every form bean And when we get any errors we can redirect it to -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 12:20 AM To: Struts Users Mailing List Subject: Re: Supporting a back button without JavaScript On Mon, 9

RE: Supporting a back button without JavaScript

2004-02-09 Thread Guillermo Meyer
. To: [EMAIL PROTECTED] Subject: RE: Supporting a back button without JavaScript James/Brian I have thought of another way of doing this but please correct me if I'm wrong Take a case I have a prepare1Action which forwards it to ABC.jsp prepare2Action also forwarding it to ABC.jsp Then ABC.jsp

Page is not Valid Any More error with IE with the Back button

2004-01-29 Thread Zsolt Koppany
Hi, I have a problem with a form and with Internet Explorer. Because the FROM method is POST IE cannot go back to the previous page when I hit the Back button, I get the error message (I translated it from German to English): Warning: Page is not valid any more. I don't get this error

AUTO {ICICICARE#005-218-313}Page is not Valid Any More error with IE with the Back button

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly

RE: AUTO {ICICICARE#005-218-313}Page is not Valid Any More error with IE with the Back button

2004-01-29 Thread Norm Deane
{ICICICARE#005-218-313}Page is not Valid Any More error with IE with the Back button Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your

AW: AUTO {ICICICARE#005-218-313}Page is not Valid Any More erro r with IE with the Back button

2004-01-29 Thread Kasterovic, Slobodan
PROTECTED] -- -- -Original Message- -- From: NRI Cell [mailto:[EMAIL PROTECTED] -- Sent: Thursday, January 29, 2004 9:25 AM -- To: Struts Users Mailing List -- Subject: AUTO {ICICICARE#005-218-313}Page is not Valid Any -- More error with IE with the Back button -- -- -- Dear Sir

Back Button (topic revisited)

2004-01-20 Thread Martin Gainty
Hello My apologies for asking a question from previous email but I so really need an answer. Currently when the operator presses/clicks back the form contents get set to default values. How does one skip the reset() method when activating the back button? Many Thanks, Martin Gainty 617-852-7822

Re: Question about back button on forward.

2003-12-18 Thread Shrihas Shah
Hi Khalid: Thanks for your reply. I just found out some info. If I want to force to send request upon the hitting back button I can put following lines in my jsp and it does force back the request to server. % response.setHeader(Expires,0);response.setHeader(Cache- Control,no-cache);% Thanks

Question about back button on forward.

2003-12-17 Thread Shah, Shrihas (OFT)
Hi All: In IE when user hits back button then I want to forward user to my main page. I want to do this in reset method of the form. How can I 1) forward using request object to forward to main page. 2) Or redirect to main page Note: At this time I am not executing action class

Re: Question about back button on forward.

2003-12-17 Thread Khalid K.
This is an age old questions. There are various javascript 'hacks' around. I suggest google the following: javascript back button the problem is that when you click on back button no server request is made, the catched page froom history.back() (i think that is the method) is displayed. So

Page expires when back button is pressed

2003-12-11 Thread Manjunath Bhat
Hi I have a page which calls an action. Depending on certain condition I will forward it to suitable pages. After this steps if user clicks the Browser's back button, it gives typical browser error Warning: Page has Expired (I am using IE). This happens especially after the validation failure

Re: Page expires when back button is pressed

2003-12-11 Thread Martin Gainty
Tie the back button to go.history(-1) Regards, Martin - Original Message - From: Manjunath Bhat [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, December 11, 2003 6:42 AM Subject: Page expires when back button is pressed Hi I have a page which calls

Session Scope ActionForm, ActionErrors and the Back Button

2003-12-02 Thread John Topley
My application has a sequence of pages that submit to a single ActionForm with session scope. The problem I have is that if the user clicks the Back button any previous ActionErrors are still displayed, even though the form fields may be populated with valid values. Is it possible to specify

RE: Session Scope ActionForm, ActionErrors and the Back Button

2003-12-02 Thread Hookom, Jacob
] Sent: Tuesday, December 02, 2003 12:31 PM To: [EMAIL PROTECTED] Subject: Session Scope ActionForm, ActionErrors and the Back Button My application has a sequence of pages that submit to a single ActionForm with session scope. The problem I have is that if the user clicks the Back button any

RE: Session Scope ActionForm, ActionErrors and the Back Button

2003-12-02 Thread Fullam, Jonathan
Topley [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 1:31 PM To: [EMAIL PROTECTED] Subject: Session Scope ActionForm, ActionErrors and the Back Button My application has a sequence of pages that submit to a single ActionForm with session scope. The problem I have is that if the user

Re: Session Scope ActionForm, ActionErrors and the Back Button

2003-12-02 Thread news.basebeans.com
Note that when you hit the Back button on a page not cached and retrieved by a GET, the browser will perform a new request... If the page was retrieved by a POST, the browser will display an error message or ask the user if he wants to repost the form. Hookom, Jacob [EMAIL PROTECTED] wrote

Help please -- How to provide a Back button?

2003-10-29 Thread ZYD
Dear all, Question 1: How to provide a Back button on a page? Is there a html tag like the one for Cancel button: html:cancel ? Question 2: How to provide two submit buttons on one JSP page, when click on the 1st button, the page is submitted to 1st action, when click on the 2nd button, it's

Re: Help please -- How to provide a Back button?

2003-10-29 Thread VKeswani
AM Please respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:Help please -- How to provide a Back button? Dear all, Question 1: How to provide a Back button on a page? Is there a html tag like the one

RE: Help please -- How to provide a Back button?

2003-10-29 Thread Jimmy Emmanual
a href=javascript:history.go(-1)Back/a -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 3:25 PM To: Struts Users Mailing List Subject: Re: Help please -- How to provide a Back button? for ur question 2: you can use javascript

Re: Help please -- How to provide a Back button?

2003-10-29 Thread ishmael riles
List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:Help please -- How to provide a Back button? Dear all, Question 1: How to provide a Back button on a page? Is there a html tag like the one for Cancel button

Re: Help please -- How to provide a Back button?

2003-10-29 Thread ZYD
Thanks for your fast response, it's of GREAT help, thanks a lot my friend. bruce - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 30, 2003 4:24 AM Subject: Re: Help please -- How to provide a Back button? for ur

Re: Help please -- How to provide a Back button?

2003-10-29 Thread ZYD
Hi my friend, you solve my problem, thanks!! bruce - Original Message - From: ishmael riles [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Cc: ZYD [EMAIL PROTECTED] Sent: Thursday, October 30, 2003 5:11 AM Subject: Re: Help please -- How to provide a Back button

Re: Help please -- How to provide a Back button?

2003-10-29 Thread ZYD
thanks buddy! - Original Message - From: Jimmy Emmanual [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 30, 2003 4:44 AM Subject: RE: Help please -- How to provide a Back button? a href=javascript:history.go(-1)Back/a -Original

Re: Is there a way to disable the browser's Back button without sending an http request?

2003-09-04 Thread Jing Zhou
: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 5:18 PM Subject: Re: Is there a way to disable the browser's Back button without sending an http request? Hi Jing, surely it is possible to solve your state problems with server-side

Re: Is there a way to disable the browser's Back button withoutsending an http request?

2003-09-04 Thread Adam Hardy
not go into the browser's history or repeated by the back-button. From a security point of view though, a browser is only a tool for doing HTTP operations, and hackers or crackers can use other tools to do exactly what they want. That is the open nature of the internet which no W3C spec

Re: Is there a way to disable the browser's Back button withoutsending an http request?

2003-09-04 Thread Jing Zhou
- Original Message - From: Mike Kienenberger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 04, 2003 7:09 AM Subject: Re: Is there a way to disable the browser's Back button withoutsending an http request? Jing Zhou [EMAIL PROTECTED] wrote: When a user watches

Re: Is there a way to disable the browser's Back button withoutsending an http request?

2003-09-04 Thread Mike Kienenberger
Jing Zhou [EMAIL PROTECTED] wrote: A similar question about your web application: Assuming all pages are set to no-cached, does it allow end users to continue the application flow after the Page has Expired ... feedback? I am interested in the answer to the second question and encourage

RE: Is there a way to disable the browser's Back button withoutsending an http request?

2003-09-04 Thread Andrew Hill
PROTECTED] Sent: Thursday, 4 September 2003 23:03 To: Struts Users Mailing List; Mike Kienenberger Subject: Re: Is there a way to disable the browser's Back button withoutsending an http request? - Original Message - From: Mike Kienenberger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: Is there a way to disable the browser's Back button withoutsending an http request?

2003-09-04 Thread Adam Hardy
Jing Zhou [EMAIL PROTECTED] wrote: A similar question about your web application: Assuming all pages are set to no-cached, does it allow end users to continue the application flow after the Page has Expired ... feedback? What do the users do when they get a 'Page Expired' notice? They either

Re: Is there a way to disable the browser's Back button without sendingan http request?

2003-09-03 Thread Adam Hardy
It depends on how much control you have over the users' browsers, and also how determined the users are to use their back-buttons. You can do lots of stuff in javascript like opening a new browser window without the button bar, or catching a back-button keypress and stuff like that. Actually

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Madhu Nair
Mailing List Subject: Re: Is there a way to disable the browser's Back button without sending an http request? It depends on how much control you have over the users' browsers, and also how determined the users are to use their back-buttons. You can do lots of stuff in javascript like opening

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Andrew Hill
Im using the location.replace() trick. Works ok though Id rather not have a back button at all! Id hate to think about doing it using jsp though.(or indeed any other serial rendering mechanism). One would need to replace every link with some custom tag - and where the links themselves

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Andrew Hill
the browser's Back button without sending an http request? Hi, To disable the user from going back without sending an http request just insert the following javascript line in each page:- history.forward(); Regards, Madhu -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent

Re: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Linus Nikander
I'm not quite sure what you are trying to achieve. Anyway, I think trying to disable the back-button (for whatever reason) is the wrong way to go about it. Simply put, any URL that the client visits, the client WILL be able to revisit. A simple cut / paste of the URL before / after the submit

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Mark Galbreath
to disable the browser's Back button without sending an http request? It looks to me the answer is NO, although we could use Java script location.replace('url'). But the statement sends out an http request. I would like to know if there is a different answer to it. Jing Netspread Carrier http

RE: Is there a way to disable the browser's Back button without sending an httprequest?

2003-09-03 Thread Brian Lee
You can also include a line like this in each jsp: window.history.forward(1); This will effectively negate the back button. BAL From: Mark Galbreath [EMAIL PROTECTED]To: Struts Users Mailing List [EMAIL PROTECTED], Jing Zhou [EMAIL PROTECTED] Subject: RE: Is there a way to disable

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Andrew Hill
To: [EMAIL PROTECTED] Subject: RE: Is there a way to disable the browser's Back button without sending an http request? You can also include a line like this in each jsp: window.history.forward(1); This will effectively negate the back button. BAL From: Mark Galbreath [EMAIL PROTECTED]To: Struts

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread iguane183
to disable the browser's Back button without sending an http request? You can also include a line like this in each jsp: window.history.forward(1); This will effectively negate the back button. BAL From: Mark Galbreath [EMAIL PROTECTED]To: Struts Users Mailing List [EMAIL PROTECTED], Jing Zhou

Re: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Jing Zhou
We use the POST method for almost every web form in wizard like applications with the internal forwarding mechanism. If the browser's Back button could be disabled for the next page, all bad things that destroy application states will be gone. Token mechanism had been carefully examined. But I am

Re: Is there a way to disable the browser's Back button withoutsending an http request?

2003-09-03 Thread Adam Hardy
stored in the session. Adam On 09/03/2003 08:28 PM Jing Zhou wrote: We use the POST method for almost every web form in wizard like applications with the internal forwarding mechanism. If the browser's Back button could be disabled for the next page, all bad things that destroy application states

Is there a way to disable the browser's Back button without sending an http request?

2003-09-02 Thread Jing Zhou
It looks to me the answer is NO, although we could use Java script location.replace('url'). But the statement sends out an http request. I would like to know if there is a different answer to it. Jing Netspread Carrier http://www.netspread.com

RE: Whats the security trick for not permiting the browser back button on SignOut?

2003-08-22 Thread Edgar Dollin
Just invalidate the session when the user logs out. Edgar -Original Message- From: Cezar Nasui [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 5:30 PM To: 'Struts Users Mailing List' Subject: RE: Whats the security trick for not permiting the browser back button

RE: Whats the security trick for not permiting the browser back button on SignOut?

2003-08-22 Thread Cezar Nasui
Hi Edgar, this is what I do but it will never diable the Back button. By any chance did you tried to : - do the log out then - click browser's Back right to the first page after signup, - do a Refresh and then - try your links from this page. Could you tell me the result please? I looked at many

RE: Whats the security trick for not permiting the browser back button on SignOut?

2003-08-21 Thread Cezar Nasui
with some JavaScript you can erase the history of the Back button. I don;t recall exaclty the code but I'll look for it. What I want to know is if it's a good method as we know we shouldn't rely on user's settings (ex. Javascript not enabled). Cezar -Original Message- From: Henry Voyer

RE: Whats the security trick for not permiting the browser back button on SignOut?

2003-08-21 Thread Cezar Nasui
refresh problem I mentioned before Cezar -Original Message- From: Brad Balmer [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 8:07 AM To: Struts Users Mailing List Subject: Re: Whats the security trick for not permiting the browser back button on SignOut? I ran into a similar

Solution: Whats the security trick for not permiting the browser back button on SignOut?

2003-08-21 Thread Henry Voyer
Hi everyone I found the solution. Its related to the browser cached pages. The trick is that in struts you specified to the controller not to let the browser to cache the html pages of your apps. That way the browser has to ask for the page every time that its been accessed. And in consequence,

Whats the security trick for not permiting the browser back button on SignOut?

2003-08-20 Thread Henry Voyer
Hi fellow Strutser I have implemented securityFilter (http://securityFilter.org) in my struts app. But once i log off i can press the browsers back button and go back to the users content page. He cant do any action since the securityFilter dont let him but he can still see the pages he

Back Button Design Pattern?

2003-07-29 Thread Joshua White
I am having a problem with users using the back button as a rewind button. I am sure that this problem has been solved many times before. Anyone care to share any techniques for preventing users from using doing harm by using the back button?

SecurityFilter and back button

2003-04-04 Thread Mark Zeltser
Hi, I have struts 1.1b3 integrated with SecurityFilter using CatalinaRealmAdapter. It works except of one case. After successfull login, clicking back button and trying to login again results in generating incorrect response path. E.g

Re: SecurityFilter and back button

2003-04-04 Thread Max Cooper
we added some features recently. I will look at it this weekend and possibly have a release to fix it in the same time frame. -Max - Original Message - From: Mark Zeltser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 04, 2003 7:52 AM Subject: SecurityFilter and back button

One more back button problem

2003-03-13 Thread Mohan Radhakrishnan
Hi, I've read all the back button mails. Mine is this. We have several drop-down lists that are populated with JSTL. c:if test=${ID == 1 or ID == 2} Show a certain drop-down list /c:if ID is in the session. After viewing the results of the submit a few times when the user

RE: The Back button on on multi-page forms ??????

2003-03-11 Thread Edgar Dollin
A form based sequence token (as opposed to struts session based token) reduces users frustration with the lack of a back button. If the sequence tokens are form based users can wander to other parts of the application and return to a still usable page. I have found the complete removal

Re: The Back button on on multi-page forms ??????

2003-03-11 Thread Laurent PETIT
From: Edgar Dollin [EMAIL PROTECTED] Hello, [ ... ] I have found the complete removal of the back button a relatively high user frustration issue. Yes, and in fact, it is not much safer as managing input validation with only javascript code. Never trust the client (browser) ! My 0.02 Euros

RE: The Back button on on multi-page forms ??????

2003-03-11 Thread David Graham
I've been known to discourage the use of the back button by opening my apps in a browser window that doesn't have the usual location bar and back button icons This is why I use Opera :-). Of course, it's incumbent upon the app developer to include enough nice navigation controls in the page

RE: The Back button on on multi-page forms ??????

2003-03-11 Thread apachep2
Even same browsers on 2 different machines generate different result. So use token to disable the Back behavior. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 5:17 PM To: [EMAIL PROTECTED] Subject: RE: The Back button on on multi-page forms

RE: The Back button on on multi-page forms ??????

2003-03-11 Thread apachep2
Show us your JavaScript evil. My boss insists on using Back, I have to give me a shock. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 9:39 PM To: Struts Users Mailing List Subject: RE: The Back button on on multi-page forms ?? snip Remember

RE: The Back button on on multi-page forms ??????

2003-03-11 Thread apachep2
Does IRS give me a chance hitting Back, re-filing last year's tax form and re-submitting it? :) -Original Message- From: Bueno Carlos M [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 10:27 PM To: 'Struts Users Mailing List' Subject: RE: The Back button on on multi-page forms ?? I

RE: The Back button on on multi-page forms ??????

2003-03-11 Thread Arnaud HERITIER
will use the back button, the browser will re-submit the request to the server. It can help to know where the user is in your webapp. Arnaud -Message d'origine- De : apachep2 [mailto:[EMAIL PROTECTED] Envoye : mardi 11 mars 2003 16:15 A : 'Struts Users Mailing List' Objet : RE

RE: The Back button on on multi-page forms ??????

2003-03-11 Thread Andrew Hill
: The Back button on on multi-page forms ?? Does IRS give me a chance hitting Back, re-filing last year's tax form and re-submitting it? :) -Original Message- From: Bueno Carlos M [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 10:27 PM To: 'Struts Users Mailing List' Subject: RE

RE: The Back button on on multi-page forms ??????

2003-03-11 Thread Mark Galbreath
List Subject: RE: The Back button on on multi-page forms ?? I remember an online banking app I used a few years back would open in a chromeless window with headers stating do not click back or stop!... (scary) -Original Message- From: apachep2 [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11

RE: The Back button on on multi-page forms ??????

2003-03-11 Thread Andrew Hill
'; [EMAIL PROTECTED] Subject: RE: The Back button on on multi-page forms ?? Show us your JavaScript evil. My boss insists on using Back, I have to give me a shock. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 9:39 PM To: Struts Users Mailing List

RE: The Back button on on multi-page forms ??????

2003-03-11 Thread Mark Galbreath
Ah, use a cookie and you can do whatever you want with the bloody lamerz that hit the back button! Mark (And don't even try to go to the what if they have JS turned off crap) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 9:26 PM To: Struts

RE: The Back button on on multi-page forms ??????

2003-03-11 Thread Andrew Hill
March 2003 10:29 To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: The Back button on on multi-page forms ?? Ah, use a cookie and you can do whatever you want with the bloody lamerz that hit the back button! Mark (And don't even try to go to the what if they have JS turned off

RE: The Back button on on multi-page forms ??????

2003-03-11 Thread Mark Galbreath
To: Struts Subject: RE: The Back button on on multi-page forms ?? m. cookies drool/ snip (And don't even try to go to the what if they have JS turned off crap) /snip In my case they dont get past page one without js, so there is nowhere to go back to... :-) -Original Message

The Back button on on multi-page forms

2003-03-10 Thread Ron Day
Anyone have any ideas or best practises on how to handle the use (mis-use) of the browser back button on multi-page forms. My forms work fine and validate Ok, but if the back button is used the forms are not re-populated properly. In particular anything that was in the reset, seems to be used

Re: The Back button on on multi-page forms

2003-03-10 Thread David Graham
See the Action class' javadoc for the token methods and the struts-example app for how to use them. David From: Ron Day [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: The Back button on on multi-page forms Date

RE: The Back button on on multi-page forms

2003-03-10 Thread apachep2
Use token for Back button and double-clicking. -Original Message- From: Ron Day [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 11:05 AM To: Struts Users Mailing List Subject: The Back button on on multi-page forms Anyone have any ideas or best practises on how to handle the use (mis-use

RE: The Back button on on multi-page forms

2003-03-10 Thread Ron Day
: Re: The Back button on on multi-page forms See the Action class' javadoc for the token methods and the struts-example app for how to use them. David From: Ron Day [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject

RE: The Back button on on multi-page forms

2003-03-10 Thread David Graham
See the Action class' javadoc for details. David From: Ron Day [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: The Back button on on multi-page forms Date: Mon, 10 Mar 2003 11:54:32 -0600 Thanks for the tip

RE: The Back button on on multi-page forms

2003-03-10 Thread Ron Day
I get the picturethanks anyway. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 12:04 PM To: [EMAIL PROTECTED] Subject: RE: The Back button on on multi-page forms See the Action class' javadoc for details. David From: Ron Day [EMAIL

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread Ron Day
button on on multi-page forms ?? Hello Ron, We have an application that has the same problem. if you got the back button issue resloved, could you please share the code sample ?? I checked the java doc, and it looks like isValidToken is in 1.1, and not in 1.0.2. Thanks! Khalid - Original

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread David Graham
, March 10, 2003 12:25 PM To: [EMAIL PROTECTED] Subject: Re: The Back button on on multi-page forms ?? Hello Ron, We have an application that has the same problem. if you got the back button issue resloved, could you please share the code sample ?? I checked the java doc, and it looks like

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread apachep2
, I reload page with error message blah blah. 6. If valid, I proceed and resetToken. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 1:48 PM To: [EMAIL PROTECTED] Subject: RE: The Back button on on multi-page forms ?? You'll notice that I also

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread Ron Day
Maybe I'm dumb, but it is not apparent to me how the token is used to make the back button post the correct form information. R -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 12:48 PM To: [EMAIL PROTECTED] Subject: RE: The Back button

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread apachep2
If token is invalid, nothing can be submitted. -Original Message- From: Ron Day [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 3:41 PM To: Struts Users Mailing List Subject: RE: The Back button on on multi-page forms ?? Maybe I'm dumb, but it is not apparent to me how the token

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread David Graham
Pressing the back button does not contact the server and thus cannot post any information. When the user submits the form again, their token will be invalid and your action will prevent a duplicate post. David From: Ron Day [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread Ron Day
I'm not sure I am explaining my problem correctly. 1) a Jsp page displays a form with text boxes, radio and checkboxes. 2) Form is filled out and submitted. 3) if validated, the next part of the form is dispayed with a second jsp page. 4) But, User hits the browser back button 5) First form is re

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread Ron Day
So, how can they correct a user error (i.e wrong phone number) on the previous page, and resubmit the form? R -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 3:01 PM To: [EMAIL PROTECTED] Subject: RE: The Back button on on multi-page forms

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread David Graham
button to correct data. Tokens prevent the user from submitting the same form twice. David From: Ron Day [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: The Back button on on multi-page forms ?? Date: Mon

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread Dave Newton
On Mon, 2003-03-10 at 16:07, Ron Day wrote: So, how can they correct a user error (i.e wrong phone number) on the previous page, and resubmit the form? Show 'em a is this info correct? page and take it from there. Relying on the back button to do anything useful is a bad idea--how would you

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread Ron Day
will hit the back button. That's where my problem starts.. ron -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 3:27 PM To: [EMAIL PROTECTED] Subject: RE: The Back button on on multi-page forms ?? 1. User submits form with invalid

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread Ron Day
I'm not relying on the back button. Believe me, I wish it wasn't there. It is and the user will use it.. i'm trying to recover from it in a reasonable way. R -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 3:34 PM To: Struts Users

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread David Graham
If this is a multi-page form, then don't use tokens and let them use the back button to correct the data. If it's a single page form, use tokens and provide an update form where they can correct any mistakes they made on the add form. The difference is that the multi-page form

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread apachep2
- From: Ron Day [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 4:38 PM To: Struts Users Mailing List Subject: RE: The Back button on on multi-page forms ?? I'm not relying on the back button. Believe me, I wish it wasn't there. It is and the user will use it.. i'm trying to recover

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread apachep2
If this is a multi-page form, save token in the first load action, check token on every page and reset token after final submission. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 4:49 PM To: [EMAIL PROTECTED] Subject: RE: The Back button on on multi

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread Ron Day
sorry, I think we are going in circles. This is a multipage form (3 to be exact but with only one actionform), BUT my whole original issue was: When they hit the back button the original form content IS either absent or different to their last entries (I do a reset in the actionform0. Am I

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread David Graham
Then that is a browser specific issue. When I hit the back button in Opera, all of the form fields are just how I entered them. Remember that the back button does not contact the server so Struts has nothing to do with this. David From: Ron Day [EMAIL PROTECTED] Reply-To: Struts Users

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread Andrew Hill
snip Remember that the back button does not contact the server /snip Some do sometimes - but Im not sure under what cicumstances - probably depends on what sort of caching setting you have set up in your browser - and what browser it is - and the alignment of neptune and saturn etc.. (ie: nothing

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread David Graham
Yeah, maybe if you have no-cache setup the browser will contact the server again. That javascript trick is truly evil. I'm guessing you have some pretty upset users. I really hate it when sites break my back button and/or remove my navigation buttons. That's one reason why I strictly use

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread Andrew Hill
very much more in the nature of a complex application with bucket loads of state that happens to use a browser instead of a standalone client and so theres a lot more 'funny stuff' going on behind the scenes than your average struts app would have - none of which plays well with the back button

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread Bueno Carlos M
I may be way off here, but how about coding defensively? This isn't some special java-struts problem; it's the price of maintaining the illusion of a session over HTTP. Form tokens are a good idea but the user can and will click that pesky back button to change what they inputted. One of two

RE: The Back button on on multi-page forms ??????

2003-03-10 Thread Craig R. McClanahan
On Tue, 11 Mar 2003, Andrew Hill wrote: Date: Tue, 11 Mar 2003 11:06:01 +0800 From: Andrew Hill [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: The Back button on on multi-page forms ?? Hasnt got

Searching archives broken? and Back Button on brower?

2003-02-11 Thread ajTreece
about the back button on the browser... What I'm finding is that pressing the back button on the browser (Netscape) re-displays the correct page in history, but it's not re-executing the action object to correctly configure the action form, session object, etc. Is this just a consequence

RE: Searching archives broken? and Back Button on brower?

2003-02-11 Thread Joe Barefoot
This is just how the back button on the browser functions with its caching policy. If you turn caching off or set it to refresh pages always (dunno where this is in Netscape exactly), then it will re-issue the previous request when you click the back button and your action will be executed

RE: proper use of back button -- design patterns

2003-02-02 Thread Jerome Jacobsen
. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 6:18 PM To: Struts Users Mailing List Subject: RE: proper use of back button -- design patterns On Fri, 31 Jan 2003 [EMAIL PROTECTED] wrote: Date: Fri, 31 Jan 2003 16:11:21 -0500 From: [EMAIL PROTECTED] Reply-To: Struts

proper use of back button -- design patterns

2003-01-31 Thread Sundar Narasimhan
I notice that w/ the default configuration on most browsers is to ask the user wheter form data should be resent. I wonder if there are concise descriptions/tutorials on web application design that deal with somewhat (I expect :) thorny issue. Do people just set the pragmas for cache-control and

Re: proper use of back button -- design patterns

2003-01-31 Thread David Graham
You can use tokens to prevent the user from resubmitting a form. See the Action javadoc for token related methods. David From: Sundar Narasimhan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: proper use of back button -- design

RE: proper use of back button -- design patterns

2003-01-31 Thread John Espey
to handle double submission in javascript so that you don't have to deal with this issue, or am I missing something? -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 1:29 PM To: [EMAIL PROTECTED] Subject: Re: proper use of back button

  1   2   >