Hey that is exactly what I needed...
My boss came in and said "This all looks good but my bank does this..."
so it was eureka on the the first line. Thank you!
On Tue, 2010-11-09 at 18:02 +0100, Paweł Wielgus wrote:
> Hi all,
> You can read some old tests about this problem here:
> http://poul
Hi all,
You can read some old tests about this problem here:
http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html
maybe they will help You.
Best greetings,
Paweł Wielgus.
2010/11/9 Maurizio Cucchiara :
> Probably I'm wrong, but don't you achieve this by disabling bro
Probably I'm wrong, but don't you achieve this by disabling browser
caching via http headers?
2010/11/9 Ken McWilliams :
> I know it depends on the browser but this is a best effort thing and am
> looking for input on my current plan.
>
> When user signs on send the current date/time of the client
but How can I realize this?
Antonio Petrelli-3 wrote:
>
> 2009/2/23 PEGASUS84 :
>>
>> Antonio se sei italiano potresti dirmi in italiano
>
> Translation (please do not answer here)
> Traduzione (non rispondere qui).
>
> Non lo fare, perché usare Javascript per tornare "indietro" ti porterà
2009/2/23 PEGASUS84 :
>
> Antonio se sei italiano potresti dirmi in italiano
Translation (please do not answer here)
Traduzione (non rispondere qui).
Non lo fare, perché usare Javascript per tornare "indietro" ti porterà
ad inconsistenze nella navigazione. Cosa succede se entri in quella
pagina d
Antonio se sei italiano potresti dirmi in italiano
--
View this message in context:
http://www.nabble.com/back-button-tp22159144p22159702.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e
2009/2/23 PEGASUS84 :
>
> today my question is:"How to create a back button wirh struts 2?"
> i used this code action="javascript:history.back();"/>
Don't do it, since using Javascript code to get "back" will lead to
inconsistencies during the navigation: what if you stumble on that
page from an
thanks,
i'm successful using onclick="javascript:history.back();" instead using
action="javascript:history.back();"
Nils-Helge Garli wrote:
>
> I'm still not convinced... But did you try google?
>
> http://www.google.no/search?q=javascript+back+button
>
> Nils-H
>
> On Mon, Feb 23, 2009
I'm still not convinced... But did you try google?
http://www.google.no/search?q=javascript+back+button
Nils-H
On Mon, Feb 23, 2009 at 11:59 AM, PEGASUS84 wrote:
>
> certainly;
> but i must create a back button in a jsp page
> but the tag submit with action=javascript:history.back(); doesn't wo
certainly;
but i must create a back button in a jsp page
but the tag submit with action=javascript:history.back(); doesn't work
Nils-Helge Garli wrote:
>
> Maybe you can explain what your requirement is. Your browser already
> has a back button ;)
>
> Nils-H
>
> On Mon, Feb 23, 2009 at 11:44
Maybe you can explain what your requirement is. Your browser already
has a back button ;)
Nils-H
On Mon, Feb 23, 2009 at 11:44 AM, PEGASUS84 wrote:
>
> good moorning.
> today my question is:"How to create a back button wirh struts 2?"
> i used this code action="javascript:history.back();"/>
>
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, Ran
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
Usually, those are pages that used POST to submit data. The usual
technique is to redirect after making a POST, so that the data is not
resubmitted.
If that doesn't solve the problem, then you might want to look into a
wizard extension, like Struts Dialog
* http://struts.sourceforge.net/strutsdia
>
> >
> > 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
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();
respo
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
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 submi
%22+AND+%22Action+class%22+AND+%22saveToken%22&hl=en
HTH,
Martin-
- Original Message -
From: "Srinivas Jadcharla" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, December 21, 2005 1:02 PM
Subject: Re: Back Button Problem..
> You can f
ort.microsoft.com/default.aspx?scid=kb;en-us;890178
> >
> > Anyone else?
> > M-
> >
> > - Original Message -
> > From: "Priya Saloni" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List"
> > Cc: "Garner, Ni
Original Message -
> From: "Priya Saloni" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Cc: "Garner, Nigel M" <[EMAIL PROTECTED]>
> Sent: Friday, December 16, 2005 1:46 PM
> Subject: Re: Back Button Problem..
>
>
> Tha
t;
> To: "Struts Users Mailing List"
> 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
> re
From: "Priya Saloni" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
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 becaus
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
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 t
Rick Reumann wrote:
Vic Cekvenich wrote the following on 10/11/2004 7:34 PM:
"Walk toward the light"
http://theserverside.com/articles/article.tss?l=RiA
Vic, I briefly read over the article.
I was hoping people would do the 3 pages of code to check out, or
download it. It's for programing more t
Hello Stup:
You need to redirect your Response
e.g.
Response.Redirect(Request.Url.PathAndQuery)
Martin
- Original Message -
From: "Sudipto Roy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 13, 2004 2:23 PM
Subject: Back Button Error
>
>
>How can I resubmit the Page programatically when I click on IE Back Button?
>
>Is there any way so that the Save,Delete,Update Action in a Page will
not be added to IE History Object?
I don't know if you'd want to automatically resubmit the page. What
you can do instead is, after the save/delete
How did you originally get to the page you are trying to get back to?
It sounds like you are doing an HTML POST. I believe this is standard
behavior in IE when you POST something.
IE is trying to tell you that the only way it can reproduce the page is
to repost the same data that generated i
Craig McClanahan wrote the following on 10/12/2004 2:16 AM:
It seems, though, that the grandfather ran into a roadblock. As he
related the story, the grandfather said, "You know, there's something
wrong with this computer. Most of the time, when I fill out a form,
it shows me exactly what I'm typ
On Mon, 11 Oct 2004 23:28:10 -0400, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Vic, I briefly read over the article. I agree that we'll see more and
> more rich clients, but one of the problems is people aren't going to
> want to always install stuff on their desktop in order to run an
> application
Good to know, Andrew! Thanks for the FYI :-)
- Original Message -
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 12, 2004 12:13 AM
Subject: Re: OT Re: Back Button Woes
I dunno mate
-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 12. Oktober 2004 06:48
> To: Struts Users Mailing List
> Subject: Re: OT Re: Back Button Woes
>
> Andrew Hill wrote the following on 10/12/2004 1:13 AM:
> > I dunno mate. I wouldnt rule out client-side Jav
On Tue, 12 Oct 2004 01:48:06 -0400, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Andrew Hill wrote the following on 10/12/2004 1:13 AM:
> > I dunno mate. I wouldnt rule out client-side Java completely.
>
> Oh I wouldn't either. I think it'll be used more and more especially in
> corporate application
Andrew Hill wrote the following on 10/12/2004 1:13 AM:
I dunno mate. I wouldnt rule out client-side Java completely.
Oh I wouldn't either. I think it'll be used more and more especially in
corporate applications. I just don't think it'll replace web-based
e-commerce sites etc. Is grandma Jones go
Really interesting, Frank. Thanks a million. Michael McGrady
Frank W. Zammetti wrote:
+1.
The thing that amazes me is that truly rich web-based clients can be
done with nothing more than Javascript and DHTML, which to me is
really optimal... you get all the best benefits of a web-delivered
sol
unless you have very explicit control over the machines it is
to be deployed to.
Regards,
Eddie
- Original Message - From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, October 11, 2004 10:28 PM
Subject: Re:
Frank W. Zammetti wrote the following on 10/12/2004 12:01 AM:
I do a whole lot with frames-based designs, especially the idea of one
of the frames being "hidden", which allows for caching of data, which
allows for a lot of functionality with the server's input (i.e., sorting
tables and such).
it is
to be deployed to.
Regards,
Eddie
- Original Message - From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, October 11, 2004 10:28 PM
Subject: Re: OT Re: Back Button Woes
Vic Cekvenich wro
-
From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, October 11, 2004 10:28 PM
Subject: Re: OT Re: Back Button Woes
Vic Cekvenich wrote the following on 10/11/2004 7:34 PM:
"Walk toward the lig
Vic Cekvenich wrote the following on 10/11/2004 7:34 PM:
"Walk toward the light"
http://theserverside.com/articles/article.tss?l=RiA
Vic, I briefly read over the article. I agree that we'll see more and
more rich clients, but one of the problems is people aren't going to
want to always install st
Theres not all that much that you can do. The back button is evil. It
exists merely for the sole purpose of making our lives a tormented misery...
You will find this article of interest though:
http://www.theserverside.com/articles/content/RedirectAfterGet/article.html
[EMAIL PROTECTED] wrote:
I
Set in struts-config... When the user
triess to go back, they'll get a page expiration notice. Not the most
user-friendly idea, but it'll stop most data corruption issues.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Hubert Rabago wrote:
idn't read the archives? :)
http://marc.theaimsgroup.com/?l=struts-user&m=109355133718659&w=2
>
>
>
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich
> Sent: Monday, October 11, 2004 4:35 PM
> To: [EMAIL PROTECTED]
> Subj
PM
To: [EMAIL PROTECTED]
Subject: OT Re: Back Button Woes
"Walk toward the light"
http://theserverside.com/articles/article.tss?l=RiA
If people have a choice, above in alternative. Bypass the browser!
.V
[EMAIL PROTECTED] wrote:
> How do I get rid of this page being shown every tim
This happens when you're trying to go back to a page that was produced
by a POSTed form. If you want to avoid this, use GET when submitting
a form, or use redirect when displaying the resulting page.
Hubert
On Mon, 11 Oct 2004 18:11:55 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> How d
"Walk toward the light"
http://theserverside.com/articles/article.tss?l=RiA
If people have a choice, above in alternative. Bypass the browser!
.V
[EMAIL PROTECTED] wrote:
How do I get rid of this page being shown every time I click the back button:
==
But this is an additional button right? Not something that will effect the browsers
back button...???
-Original Message-
From: Phani [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 1:12 PM
To: Struts Users Mailing List
Subject: Re: Back Button Implementation
Roy,
You can use
Roy,
You can use something like this:
--- Sudipto Roy <[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> I am working in a J2EE Project in which we are using
> Struts. Can anyone tell me whether I can track a
> Browser Button Hit as I want to synchronise Browser
> Back Button with our Application Bac
Hi,
Just for the record the following javascript works (in the body tag of the
html page):
It's not pretty, but it works.
Regards,
Andy
_
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/
andy wix wrote:
Hi,
As usual I think I must be missing something fundamental!
It would be pretty serious to leave the back functionality - someone
could delete a contact, then press back and see the name again. If they
subsequently do another delete, there's trouble!
I'm thinking this problem i
andy, have you had a look at the PRG pattern?
You can see a working example and access its source code here:
http://www.superinterface.com/projects/prgtoolkit.htm
You can view the article here:
http://www.theserverside.com/articles/content/RedirectAfterGet/article.html
HTH
Cheers,
Ben
On Mon
Hi, Rick,
Yes, I know why we use tokens. But, Jim had said that we use the Token
to solve this gentleman's problem which was not true. This gentleman's
problem is that he did not want the client to see the same data when he
used the back button. The Token has nothing to do with that.
Michae
Michael McGrady wrote the following on 10/4/2004 4:30 PM:
Jim, this is unrelated to the token mechanism. This happens client side.
James Mitchell wrote:
I think this must be a problem which occurs in many projects?
Yes, you are correct. That's why we have the token mechanism.
Michael, Jim is
y, October 04, 2004 1:17 PM
Subject: Re: back button
Hi,
As usual I think I must be missing something fundamental!
It would be pretty serious to leave the back functionality - someone could
delete a contact, then press back and see the name again. If they
subsequently do another delete, there's tr
eTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "andy wix" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 04, 2004 1:17 PM
Subject: Re: back button
Hi,
As usual I think I must be missing something fundamental!
It would be prett
.tss?l=RedirectAfterGet
>
> does talk about this solution from the struts perspective. However,
> it can
> be implemented with or without struts.
>
> HTH,
> -Amit
>
>
> -Original Message-
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> Sen
. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Monday, October 04, 2004 10:36 AM
To: Struts Users Mailing List
Subject: Re: back button
You may want to try this on the page you don't want your users to be
able to go back to:
Standard disclaimer: I have not tried this, I'm just coming up wit
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 04, 2004 1:17 PM
Subject: Re: back button
> Hi,
>
> As usual I think I must be missing something fundamental!
> It would be pretty serious to leave the back functionality - someone could
> delete a contact
You may want to try this on the page you don't want your users to be
able to go back to:
Standard disclaimer: I have not tried this, I'm just coming up with it
off the top of my head... Even if it does work, I can't vouch for how
cross-browser it is, and it will not help if they have scripting
http://www.theserverside.com/articles/article.tss?l=RedirectAfterGet
"andy wix" <[EMAIL PROTECTED]>
10/04/2004 01:17 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
[EMAIL PROTECTED]
cc
Subject
Re: back button
Hi, Andy,
Since you did not leave the answer you are responding to, it is hard to
see what you are saying. However, assuming that you are responding to
what I said, then you can disable the browser back button (get rid of it
actually) and put in your own back button which WOULD NOT SHOW THE NAM
Hi,
As usual I think I must be missing something fundamental!
It would be pretty serious to leave the back functionality - someone could
delete a contact, then press back and see the name again. If they
subsequently do another delete, there's trouble!
I'm thinking this problem is not simply due
Okay, Jeff. I missed that in the second bullet point. You really were
asking how to keep the back button and not have these problems? I bet
there is a solution to that problem too. I have not researched it
however. Have you googled that issue? Here is something that showed up
immediately.
Michael McGrady wrote:
There are various ways to control client-side browsers. You can show a
window with no back button, if you like. You can provide your won back
button. Blah, blah, blah. There is not much you cannot do, if you want
to do it.
Michael McGrady
I did make mention of some of
There are various ways to control client-side browsers. You can show a
window with no back button, if you like. You can provide your won back
button. Blah, blah, blah. There is not much you cannot do, if you want
to do it.
Michael McGrady
Jeff Beal wrote:
andy wix wrote:
Hi,
Thanks, that ex
andy wix wrote:
Hi,
Thanks, that explains why I see the deleted name. Is there a standard
way to overcome this - some way to override the back button's
functionality?
Regards,
Andy
_
It's fast, it's easy and it's free. Get MSN Mess
Hi,
Thanks, that explains why I see the deleted name. Is there a standard way
to overcome this - some way to override the back button's functionality?
Regards,
Andy
_
It's fast, it's easy and it's free. Get MSN Messenger today!
htt
andy wix wrote:
Hi,
I have the following on the view page so I don't think I'm seeing the
cached version of the page:
response.setHeader("Cache-Control","no-cache"); // HTTP 1.1
response.setHeader("Pragma","no-cache"); // HTTP 1.0
response.setDateHeader ("Expires", -1); // Prevents caching at a p
Hi,
I have the following on the view page so I don't think I'm seeing the cached
version of the page:
response.setHeader("Cache-Control","no-cache"); // HTTP 1.1
response.setHeader("Pragma","no-cache"); // HTTP 1.0
response.setDateHeader ("Expires", -1); // Prevents caching at a proxy
server
Al
This might be a dumb question, but are you sure that the browser isn't
showing you a cached version of the page when you use the back button?
Have you prevented caching in the HTML or by using timestamps on your
request URLs?
I guess it's hard to say without knowing more about the code. Does yo
Hi,
The delete action does delete it from the arraylist in the session (as well
as the db). That's why I think it must somehow grab the old copy when
doing a 'back'.
Regards,
Andy
_
It's fast, it's easy and it's free. Get MSN Mess
Shouldn't your "delete" encompass not only a database delete (which I
assume is what you meant by "delete"), but also a delete from the cache
(ArrayList)? Sorry if I don't understand.
Erik
andy wix wrote:
Hi,
Where my pages show a view of data, I have had to implement caching
due to the amount
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
Hi,
I removed the POST. And used the GET method. Now it
works.
Thanks everyone. :)
--- Hubert Rabago <[EMAIL PROTECTED]> wrote:
> The browser tells you the page has expired because
> you're trying to
> get to a page that was produced by doing a POST.
> The browser won't
> re-POST form informa
Comment all those out, and your problem should go away.
Jim Barrows wrote:
-Original Message-
From: struts lover [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 12:47 PM
To: Struts Users Mailing List
Subject: RE: Back Button
Hi,
I have the following settings in my jsp
The browser tells you the page has expired because you're trying to
get to a page that was produced by doing a POST. The browser won't
re-POST form information as a security precaution. If you want to be
able to get around this, use GET in your search.
On Thu, 26 Aug 2004 12:14:12 -0700 (PDT), s
> -Original Message-
> From: struts lover [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 26, 2004 12:47 PM
> To: Struts Users Mailing List
> Subject: RE: Back Button
>
>
> Hi,
> I have the following settings in my jsp.
>
> response.set
lick the Refresh button.
Thanks.
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: struts lover [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 26, 2004 12:14 PM
> > To: Struts Users Mailing List
> > Subject: RE:
> -Original Message-
> From: struts lover [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 26, 2004 12:14 PM
> To: Struts Users Mailing List
> Subject: RE: Back Button
>
>
> Hi :),
>
> It gives me the following error.
>
> Warning: Page has Exp
Hi :),
It gives me the following error.
Warning: Page has Expired
Thanks.
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: struts lover [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 26, 2004 12:04 PM
> > To: Struts Users Mailing List
> > Subje
> -Original Message-
> From: struts lover [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 26, 2004 12:04 PM
> To: Struts Users Mailing List
> Subject: Back Button
>
>
> Hi,
> I am developing a web application. There is a search
> page where user enters a search parameter. Then it
> d
82 matches
Mail list logo