Found out how to reproduce it.
If I try over and over to submit a form, it fails several times and is
repeatedly redisplayed with an error message. In my case "primary key is
duplicate" because I keep forgetting to update it manually when I mess around
like this in dev.
Since the primary key
GET HTTP 302 according to httpheaders
It looks fine and should be fine, assuming the struts2 redirect resulttype is
OK.
But somehow firefox seems to be too clever and appears to be breaking the
standard browser contract to replace the POST with the GET
To confuse me more, it is only doing th
In Firefox
so if I am on Investran and am redirected to cyberspaceroad
I then (login) to on cyberspaceroad
on refresh I am redirected to original Investran
Can you see which redirect code is returned (301,307) and which method(POST/GET)
?
Martin
__
The site has some trouble. However I have downloaded the archive and run it in
my own install of Tomcat and not had any problem with it.
Matt
Quoting Michaël Bienstein <[EMAIL PROTECTED]>:
> I got an error 500 when I tested the prgtoolkit.htm application entering
> "123" for the value of a ne
since you've told us to look at this
web application.
Michael
-Message d'origine-
De : Matthew Ryan [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 20 janvier 2005 07:00
À : Struts Users Mailing List; [EMAIL PROTECTED]
Objet : Re: Post -> Redirect -> Get
HI Craig,
Thanks for
HI Craig,
Thanks for the reply.
Recently I had a read of these articles on theServerSide by Michael Jouravlev,
titled 'Redirect After Post' and 'Redirect After Post 2'.
http://www.theserverside.com/articles/content/RedirectAfterPost/article.html
http://www.theserverside.com/articles/article.tss
On Thu, 20 Jan 2005 13:27:59 +1000, Matthew Ryan
<[EMAIL PROTECTED]> wrote:
> Want to ask if many people implement something of a PRG in the handling of
> Actions (and forwards)?
It is, of course, easy to implement this ... just set redirect="true"
on your forwards and you get the PRG result. But
7 matches
Mail list logo