Hi Volkan,
I had a similar issue which turned out to be a a bug in the result
page. It seems when you have an error in an ajax result page nothing
gets reported (probably for good reason), but it makes things
difficult to debug.
The simplest way I find to resolve it is to make the ajax ca
I tryed this problem with FireFox, IE6, IE7. Same results.
On 5/31/07, Mark Shifman <[EMAIL PROTECTED]> wrote:
I had a similar problem that I never really worked out and I will be
interested in
hearing if anyone has solved this.
I was wondering if this was a caching issue with your browser. I
I had a similar problem that I never really worked out and I will be
interested in
hearing if anyone has solved this.
I was wondering if this was a caching issue with your browser. I had
the problem with
firefox.
any suggestions appreciated.
mas
Volkan OZYILMAZ wrote:
Hello All,
I use sturt
Hello All,
I use sturts 2. My web program work well but when i add a refresh link in my
page, starting a problem.
First i had use javascript:reload() function. When use this link, page
sometimes not get data. But sometimes get. I change my reload() function.
function refresh()
{
var sURL =
/www.nabble.com/Struts-Refresh-problem--need-help-tf3446171.html#a9610336
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
sor class if you have any issues getting this working.
Paul
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 29, 2004 6:02 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Refresh problem
>
>
> Hi,
>
> Ah, that will be why..
andy wix wrote:
Hi,
Ah, that will be why... I use a link to submit. Is there any way to
force this to happen without a form?
Thanks,
Andy
_
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
Hi,
Ah, that will be why... I use a link to submit. Is there any way to force
this to happen without a form?
Thanks,
Andy
_
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
--
The tag will (or should!) render a hidden field, on your html
form, containing the token value.
Paul
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 29, 2004 5:18 PM
> To: [EMAIL PROTECTED]
> Subject: Refresh problem
>
&g
Hi,
I have a screen which lists some names in a table and has a delete option
which calls an action to delete the associated name and then the view page
shows the updated list.
If you do a delete and then select refresh on the browser, the resulting
request is for another delete which is clearly
Hi nitin!
I would attack this issue in two possible ways.
Option 1:
=
addForm.do - Action.saveToken() in execute;
listRecords.do - displays records +
if( this.isTokenValid( request, true ) ) // true will reset the token
(i.e. on refresh, the token will not match)
{
// do save
}
// f
]>
Sent: Wednesday, August 18, 2004 8:05 AM
Subject: Refresh problem.
> Hello,
>
> I have a page wherein I am listing a set of records.
> This page also has a button for adding new record.
> Now if the user clicks the [Add New] button, adds the
> record(after which he is dire
Either redirect to the LIST page or use token for the Add page
- Original Message -
From: "nitin dubey" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 2004 5:40 PM
Subject: Re: Refresh problem.
>
The user is refreshing on the LIST page. :)
--- nitin dubey <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a page wherein I am listing a set of records.
>
> This page also has a button for adding new record.
> Now if the user clicks the [Add New] button, adds
> the
> record(after which he is di
Hello,
I have a page wherein I am listing a set of records.
This page also has a button for adding new record.
Now if the user clicks the [Add New] button, adds the
record(after which he is directed to the same listing
page) and refreshes the same record is added once
more. Here onwards every r
> cached by the browser or the server), or you missed the call to
> > saveToken(request).
> IMHO, the saveToken(request) IS CALLED for sure. It's actually the
> opposite,
> the token is saved, but never "resest" anywhere.
>
> A simple "refresh&q
gt; cached by the browser or the server), or you missed the call to
> saveToken(request).
IMHO, the saveToken(request) IS CALLED for sure. It's actually the opposite,
the token is saved, but never "resest" anywhere.
A simple "refresh" problem is becoming more and m
--- Ding Lei <[EMAIL PROTECTED]> wrote:
>
> Hi Hubert,
> Thanks for your reply first .. but:
>
> On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote:
> > This is really how it's designed to work. For a form to be resubmitted,
> the
> > user will have to regenerate the form, maybe by go
Hi Hubert,
Thanks for your reply first .. but:
On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote:
> This is really how it's designed to work. For a form to be resubmitted, the
> user will have to regenerate the form, maybe by going back two pages, to the
> page that was shown *before
Hi Hubert,
Thanks for your reply first .. but:
On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote:
> This is really how it's designed to work. For a form to be resubmitted, the
> user will have to regenerate the form, maybe by going back two pages, to the
> page that was shown *before*
bute(Globals.TRANSACTION_TOKEN_KEY);
> >
> > if you really really want to get rid of it.
> >
> > Craig
> >
> >
> >
> > >
> > >
> > >
> > >
> > >>Cheers.
> > >>Guillermo.
> > >>
> >
RANSACTION_TOKEN_KEY);
>
> if you really really want to get rid of it.
>
> Craig
>
>
>
> >
> >
> >
> >
> >>Cheers.
> >>Guillermo.
> >>
> >>-Original Message-
> >>From: Ding Lei [mailto:[EMAIL PROTEC
really really want to get rid of it.
Craig
Cheers.
Guillermo.
-Original Message-
From: Ding Lei [mailto:[EMAIL PROTECTED]
Sent: Lunes, 12 de Julio de 2004 10:38 a.m.
To: Struts Users Mailing List
Subject: Browser's refresh problem
Hi all,
There's a UserAddAction, which adds t
>
> Cheers.
> Guillermo.
>
> -Original Message-
> From: Ding Lei [mailto:[EMAIL PROTECTED]
> Sent: Lunes, 12 de Julio de 2004 10:38 a.m.
> To: Struts Users Mailing List
> Subject: Browser's refresh problem
>
>
> Hi all,
>
> There's a UserAd
Use Struts isTokenValid/saveToken schema in your addUsetToDatabase
Action method.
Cheers.
Guillermo.
-Original Message-
From: Ding Lei [mailto:[EMAIL PROTECTED]
Sent: Lunes, 12 de Julio de 2004 10:38 a.m.
To: Struts Users Mailing List
Subject: Browser's refresh problem
H
Hi Ding Lei:
Use a redirect instead of a forward and that will solve your problem..
Geeta
> -Original Message-
> From: Ding Lei [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 12, 2004 9:38 AM
> To: Struts Users Mailing List
> Subject: Browser's refresh pr
Hi all,
There's a UserAddAction, which adds the user record to the database, and
when it's done it redirects the user index page. the problem is that everytime
the user clicks refresh at the user index page, the same record is added
again.
I know that unique check is required, but I also ho
search the mailing list archive for information on Token Processing.
Here's a start:
http://marc.theaimsgroup.com/?l=struts-user&w=2&r=1&s=token&q=b
Also, consider redirecting to the "list" page after processing a delete, or
performing any DB update you don't want repeated by a refresh operation
HI,
I have a list of related items on my JSP page and each item in the list has
a delete button. This tells the action to remove the item from the
ArrayList, thank fully this works nicely.
The trouble is; after deleting an item I click "refresh" on the browser,
this will then delete the next it
29 matches
Mail list logo