: RE: reset a request parameter to null
I tried but failed, unfortunately. I guess the *operation* will be kept
as
a request parameter if mapping.findForward() is used, EVEN if you remove
*operation* from your ActionForm.
Thanks for your attention.
Denis
-Original Message-
From
PM
To: Struts Users Mailing List
Subject: RE: reset a request parameter to null
thanks for your reply. just as this email's subject, I am trying to set a request
*parameter* to null. Denis
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 3
Hello, all,
What is the easiest way to set the request paramter to null?
I have OneForm and TwoForm, both of which have a field of operation.
After OneAction is finished, the request will be forwarded to TwoAction.
The wierd thing is that I cannot reset the operation parameter.
I tried in the
-
From: Denis Wang [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 3:19 PM
To: Struts Users Mailing List
Subject: reset a request parameter to null
Hello, all,
What is the easiest way to set the request paramter to null?
I have OneForm and TwoForm, both of which have a field of operation
thanks for your reply. just as this email's subject, I am trying to set a
request *parameter* to null.
Denis
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 3:28 PM
To: Struts Users Mailing List
Subject: RE: reset a request parameter
Ah! I had to read your message again to see that what you had showed were various
attempts at setting the request parameter 'operation' to null.
I would suggest overriding OneForm's reset() method and set the property 'operation'
to null in it.
Let me say in passing that it isn't a good idea
) should return null after
that.
Larry
-Original Message-
From: Denis Wang [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 3:30 PM
To: Struts Users Mailing List
Subject: RE: reset a request parameter to null
thanks for your reply. just as this email's subject, I am trying to set
Mailing List
Subject: RE: reset a request parameter to null
thanks for your reply. just as this email's subject, I am trying to set a
request *parameter* to null. Denis
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 3:28 PM
To: Struts Users
]]
Sent: Monday, January 20, 2003 3:42 PM
To: 'Struts Users Mailing List'
Subject: RE: reset a request parameter to null
Using your second below method but without including the parameter operation
in the
query string should accomplish. So the code would look like:
return new ActionForward
, 2003 3:52 PM
To: Struts Users Mailing List
Subject: RE: reset a request parameter to null
I tried but failed, unfortunately. I guess the *operation* will be kept as
a request parameter if mapping.findForward() is used, EVEN if you remove
*operation* from your ActionForm.
Thanks for your attention
One of my jsp has Struts form tag. Inside that form there is no form
element but some
static data in form of table. When submitting the form I am passing
some querystring. After submitting the jsp page , inside the action
class the request parameter is being null.
If I am adding a dummy hidden
11 matches
Mail list logo