Re: Browser Back button intercept, no javascript

2022-01-26 Thread Lukasz Lenart
It won't be possible to detect that the given request reached your application because a user hit the Back button. There is no indication in HTTP protocol that could tell you so. Regards Łukasz wt., 25 sty 2022 o 22:58 albert kao napisał(a): > > If the user presses the Back button of a browser,

Browser Back button intercept, no javascript

2022-01-25 Thread albert kao
If the user presses the Back button of a browser, my application likes to intercept that and display a text message at the current web page. How to do that without using javascript? The following codes show an approach with AbstractInterceptor. Please review whether it will work. If yes, how to ge

RE: Browser Back Button

2007-01-10 Thread Chetan Pandey
Hi Chris: > What browser are you using? Is your setup action being executed again, > or is the browser serving the page from the cache? If the browser is not > contacting the server, there's nothing you can do. I am using IE 7.0. Regarding contacting the server, something very weird is happening

Re: Browser Back Button

2007-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetan, Chetan Pandey wrote: > To avoid this problem I introduced the following > request.getSession().setAttribute("eventForm", new EventForm()). If you are using Struts form beans, it might be better to blank the existing bean instead of creating a

Browser Back Button

2007-01-08 Thread Chetan Pandey
Hi All: I have a Web App in which I can add/edit/delete and list events using an eventForm Object which is stored in session in the struts-config action declaration. Addition/Deletion/Editing works perfectly but if I click on an Event for Editing and later try to add an Event, the previous

Re: Browser Back Button

2006-05-16 Thread temp temp
Can I use struts token mechanisim without a formbean ? Thanks & Regards Manfred Wolff <[EMAIL PROTECTED]> wrote: Found at http://husted.com/struts/catalog.html Use the Action Token methods to prevent duplicate submits There are methods built into the Struts action to generate one-u

Re: Browser Back Button

2006-05-15 Thread Manfred Wolff
Found at http://husted.com/struts/catalog.html Use the Action Token methods to prevent duplicate submits There are methods built into the Struts action to generate one-use tokens. A token is placed in the session when a form is populated and also into the HTML form as a hidden property.

Re: Browser Back Button

2006-05-15 Thread temp temp
Can U suggets me an article which clearly explains using struts tokens mechanisim? Manfred Wolff <[EMAIL PROTECTED]> wrote: Lixin. I think mostly it is no problem to go back in a struts implemented application. If it ist a problem (e.g. after a logout or if you saved data) you can take the s

Re: Browser Back Button

2006-05-15 Thread Manfred Wolff
Lixin. I think mostly it is no problem to go back in a struts implemented application. If it ist a problem (e.g. after a logout or if you saved data) you can take the struts token mechanism to prevend such backs. Manfred Lixin Chu wrote: > A cleaner back button solution is almost a must-have fo

Re: Browser Back Button

2006-05-15 Thread Lixin Chu
A cleaner back button solution is almost a must-have for logout: after logout, the back button should not bring back the previous page. looking at that Gmail does. any idea how it is implemented ?

RE: Browser Back Button

2006-05-12 Thread George.Dinwiddie
f Khan [mailto:[EMAIL PROTECTED] > Sent: Friday, May 12, 2006 9:31 AM > To: Struts Users Mailing List > Subject: Re: Browser Back Button > > > Hi, > >For browser back button solution through javascript, > please see this link. > > http://www.webdev

Re: Browser Back Button

2006-05-12 Thread Rauf Khan
Hi, For browser back button solution through javascript, please see this link. http://www.webdeveloper.com/forum/showthread.php?t=93935 Regards Rauf Khan On 5/12/06, temp temp <[EMAIL PROTECTED]> wrote: I am not clear using tokens How to use tokens to determine that user clic

Re: Browser Back Button

2006-05-12 Thread temp temp
I am not clear using tokens How to use tokens to determine that user clicked on browser back button ? Thanks & Regards Rob Manthey <[EMAIL PROTECTED]> wrote: And I'll be contrary and toss in a "Yes, but ..." (apol: Eric Berne) (as usual, corrections to my notes

Re: Browser Back Button

2006-05-11 Thread Rob Manthey
And I'll be contrary and toss in a "Yes, but ..." (apol: Eric Berne) (as usual, corrections to my notes are welcome) Yes, but you have to do it programmatically. I don't think there's anything in j2ee (or any other web app) interfaces or implementations that handles this, as Phil said, so you hav

Re: Browser Back Button

2006-05-11 Thread Philihp Busby
No. When people have a problem with back buttons, 95% of the time they are either doing one of the following: - Confusing the GET and POST methods and their intended purpose with forms. - Abusing client-side browser scripting for forwarding users. On 5/11/06, temp temp <[EMAIL PROTECTED]> wrote:

Browser Back Button

2006-05-11 Thread temp temp
Is there any way I can realize using java that the user clicked on browsers back button ? Thanks & Regards - Yahoo! Mail goes everywhere you do. Get it on your phone.

Please Guide & Suggest - Handling User Clicks on the Browser "Back" Button

2006-05-08 Thread Caroline Jen
I posted the question earlier and thanks for many respondents took time to answer my question. While double submission is one of my problems, my focus has been on this particular one if users click on the browser "Back" button: WebPage A1 --> WebPage A2 --> WebPage C WebPage B

Handling User Clicks on the Browser "Back" Button

2006-05-05 Thread Caroline Jen
lem to close the current page and display the previous page if users click on the "Close" button provided. Because the WebPage C can be reached by different routes, we have System Error/Exceptions thrown if users opt to use the browser "Back" button. I believe that this is

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

2006-05-05 Thread Naijatek
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

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 unsub

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 &qu

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

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://

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 mu

What To Do If Users Use the Browser "Back" Button?

2006-05-04 Thread Caroline Jen
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 previo

Re: [OT] Re: Browser back button

2006-03-14 Thread Frank W. Zammetti
location.href will give you the same page... what you want is whatever the *real* initial page of your app is. For instance, if right now you would go to index.jsp as the first page, then rename that to index1.jsp and use that as the argument. The page I gave you would then become index.jsp.

Re: [OT] Re: Browser back button

2006-03-14 Thread struts lover
>> That's all there is to it... this, plus the Javascript from yesterday, >> gets you about as close to full control as you can probably reasonably >> hope to get. As long as your OK in an IE-only world, it's pretty nice. >> I'm sure it's not fullproof, but it&#x

Re: [OT] Re: Browser back button

2006-03-14 Thread Frank W. Zammetti
r >> want >> to further limit it to 6.0+ for instance. >> >> That's all there is to it... this, plus the Javascript from yesterday, >> gets you about as close to full control as you can probably reasonably >> hope to get. As long as your OK in an IE-only wo

Re: [OT] Re: Browser back button

2006-03-14 Thread struts lover
e chromeless window probably isn't a big deal, but my gut > tells me blocking the back functionality wouldn't be as easy, if possible > at all). > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies > http://www.omnytex.com >

Re: [OT] Re: Browser back button

2006-03-14 Thread Frank W. Zammetti
As long as your OK in an IE-only world, it's pretty nice. > I'm sure it's not fullproof, but it's more than adequate for typical > users. Throw in a right-click blocking function and it's pretty good. > > (If anyone can duplicate both these things with FF,

Re: [OT] Re: Browser back button

2006-03-14 Thread Frank W. Zammetti
but my gut tells me blocking the back functionality wouldn't be as easy, if possible at all). -- 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.sourcefo

Re: [OT] Re: Browser back button

2006-03-14 Thread struts lover
Hi Frank, Thanks for your reply. That solves my problem of back button or other key on the keyboard. But I still have the problem with the browser back button. I am using Tiles. It would be nice if you can provide any pointers. Thanks. "Frank W. Zammetti" <[EM

[OT] Re: Browser back button

2006-03-13 Thread Frank W. Zammetti
Marked OT... this isn't Struts-related... There isn't any way to do it cross-browser that I am aware of, and there isn't any way to do it definitively. However, because you say you are working on an Intranet application, you may have some options that you otherwise might not... First thing,

Browser back button

2006-03-13 Thread struts lover
Hi, I am using Struts and Tiles for an intranet application. I want to disable the back button. How can I achieve this? Any help would be appreciated. Thanks - Yahoo! Mail Use Photomail to share photos without annoying attach

Re: Browser Back Button (IE) Problem in Struts Land

2004-09-15 Thread Hubert Rabago
ce for your reply! > > Problem Summary: > --- > Unable to eliminate "Page Expired" error when a user hits on the Browser > "Back" button in Internet Explorer 6.x. Hence, Seeking input from the > Struts community! > > App Overview: > - >

Browser Back Button (IE) Problem in Struts Land

2004-09-15 Thread Arumbakkam, Praveen \(Contractor\)
Hello and thank you in advance for your reply! Problem Summary: --- Unable to eliminate "Page Expired" error when a user hits on the Browser "Back" button in Internet Explorer 6.x. Hence, Seeking input from the Struts community! App Overview: - A S