update.
>
> using session/request attribute might not work for me. Not sure. I'm new to
> web development.
>
>
>
> -Original Message-
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 23, 2005 2:39 PM
> To: Struts Users Mailing Lis
September 23, 2005 1:49 PM
To: 'Struts Users Mailing List'
Subject: RE: Change the query parm before forward
Struts has built in token functionality to prevent the "submit button
pressed twice" problem.
In action class add(), edit(), and delete() methods, or any method that
I prefer it to do update.
using session/request attribute might not work for me. Not sure. I'm new
to web development.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, September 23, 2005 2:39 PM
To: Struts Users Mailing List
Subject: Re: Change t
/request attribute might not work for me. Not sure. I'm new to
web development.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, September 23, 2005 2:39 PM
To: Struts Users Mailing List
Subject: Re: Change the query parm before forward
From: "Lim
From: "Lim Hock-Chai" <[EMAIL PROTECTED]>
In my struts config file, I've a initialization action. If say the order
item
sequence# is missing in the query parm, I need to change it to default to
the next item sequence # before it forward to the actual form.
In your initialization Action, set
Where are you forwarding from and where are you forwarding to? If you
are forwarding to JSP from action, just update needed attribute in
request scope.
Michael
On 9/23/05, Lim Hock-Chai <[EMAIL PROTECTED]> wrote:
> is there a way to change the query parm in the request before forward it?
>
> In m
You could try using a Filter. I'm sure there are many tutorials and examples
out there. Here is an example:
Web.xml
MyFilter
com.wss.util.MyFilter
Some description.
MyFilter
7 matches
Mail list logo