RE: What To Do If Users Use the Browser Back Button?

2006-05-05 Thread Naijatek
Quick and short answer Check out the topic Token

http://www.learntechnology.net/struts-token.do




-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 11:09 PM
To: user@struts.apache.org
Subject: What To Do If Users Use the Browser Back Button?

There is a J2EE application I am working on.  The
application uses the Struts framework.  Things are
working fine.

If users use the Close button that is provided by us
(developers), the current web page closes and the
previous web page is displayed orderly and properly.

But, we are getting in trouble if users use the
browser Back button.  After several clicks on the
browser Back button, we get system errors.

What to do to handle the situation?

1. save every single previous page uri in a (probably
XML) file?
2. save the trail of previous pages as part of the
Request of the current web page?  

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Caroline Jen
There is a J2EE application I am working on.  The
application uses the Struts framework.  Things are
working fine.

If users use the Close button that is provided by us
(developers), the current web page closes and the
previous web page is displayed orderly and properly.

But, we are getting in trouble if users use the
browser Back button.  After several clicks on the
browser Back button, we get system errors.

What to do to handle the situation?

1. save every single previous page uri in a (probably
XML) file?
2. save the trail of previous pages as part of the
Request of the current web page?  

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Rob Manthey
Caroline Jen wrote:

...etc... But, we are getting in trouble if users use the
browser Back button.  After several clicks on the
browser Back button, we get system errors.

What to do to handle the situation?  
...etc... 

This must be one of the most frequently asked questions on this list. 
Is it worth someone putting a FAQ on the Struts website so that askers
of this much-repeated question can be directed there?
Pretty much goes hand in hand with equally notorious My site works
fine, until I open another browser window aka multiple browser
windows problem.  Also worth a FAQ?
I know they're not expressly Struts question, but are very commonly
asked here ...
If no one else is interested I might throw together something and post
it on a domain elsewhere for public FAQing, but I'd need some time for
self-education and assistance to proof read whatever I would put up. 
Also I'm buried in real (and home!) work at present.
Thanks
 Rob


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



Re: What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Rob Manthey
Caroline Jen wrote:

... in trouble if users use the
browser Back button.  After several clicks on the
browser Back button, we get system errors.

What to do to handle the situation?
  

have a look through some of these ...
http://marc.theaimsgroup.com/?l=struts-userw=2r=1s=back+buttonq=b
try:
http://marc.theaimsgroup.com/?l=struts-userm=113160817003562w=2
and the ensuing answers in that thread ...
have fun
 Rob


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



Re: What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Michael Jouravlev

On 5/4/06, Rob Manthey [EMAIL PROTECTED] wrote:

Caroline Jen wrote:

...etc... But, we are getting in trouble if users use the
browser Back button.  After several clicks on the
browser Back button, we get system errors.

What to do to handle the situation?
...etc...

This must be one of the most frequently asked questions on this list.
Is it worth someone putting a FAQ on the Struts website so that askers
of this much-repeated question can be directed there?
Pretty much goes hand in hand with equally notorious My site works
fine, until I open another browser window aka multiple browser
windows problem.  Also worth a FAQ?
I know they're not expressly Struts question, but are very commonly
asked here ...
If no one else is interested I might throw together something and post
it on a domain elsewhere for public FAQing, but I'd need some time for
self-education and assistance to proof read whatever I would put up.
Also I'm buried in real (and home!) work at present.


Um, there is no one silver bullet that is simple, works for developers
and works for users. Also, developers who do implement some sort of
Back Button support, have very different opinions on how exactly an
application should behave :-)

Here is one way of doing that, but by no means the only way:

http://www.theserverside.com/articles/article.tss?l=RedirectAfterPost
http://www.theserverside.com/articles/article.tss?l=RedirectAfterPost2

Michael.

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



Re: What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Frank W. Zammetti

Rob, might I suggest the Wiki?  That's kind of the point of its existence :)

Frank

Rob Manthey wrote:

Caroline Jen wrote:


...etc... But, we are getting in trouble if users use the
browser Back button.  After several clicks on the
browser Back button, we get system errors.

What to do to handle the situation?  
...etc... 

This must be one of the most frequently asked questions on this list. 
Is it worth someone putting a FAQ on the Struts website so that askers

of this much-repeated question can be directed there?
Pretty much goes hand in hand with equally notorious My site works
fine, until I open another browser window aka multiple browser
windows problem.  Also worth a FAQ?
I know they're not expressly Struts question, but are very commonly
asked here ...
If no one else is interested I might throw together something and post
it on a domain elsewhere for public FAQing, but I'd need some time for
self-education and assistance to proof read whatever I would put up. 
Also I'm buried in real (and home!) work at present.

Thanks
 Rob


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






--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Java Web Parts -
http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!

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



Re: What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Rob Manthey
Frank W. Zammetti wrote:

 Rob, might I suggest the Wiki?  That's kind of the point of its
 existence :)

good call.  i'm off for the weekend now, so no more fun for me today
;)  back for more on monday.
cheers
 Rob

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