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: Larry Zappeterrini [mailto:[EMAIL PROTECTED]] 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(mapping.findForward("success").getPath() + "?versionId=" + versionId); Any calls to request.getParameter("operation") 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 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 to null It isn't clear what you are trying to achieve; however one thing that jumps out is your use of request *attributes* as opposed to request *parameters*. When you append a URI thusly: foo?operation=bar&baz=gak you are providing *parameters* and not attributes. Sri -----Original Message----- 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". 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 OneAction: request.setAttribute( "operation", null ); OneForm.setOperation( null ); request.removeAttribute( "operation" ); return new ActionForward( mapping.findForward( "success" ).getPath() + "?operation=&versionId=" + versionId ); All above approaches do not work. The last one comes really close to set operation="". Does anybody have a decent way to set the parameter to null? Thanks. Denis -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> *************************************************************************** This electronic mail transmission contains confidential and/or privileged information intended only for the person(s) named. Any use, distribution, copying or disclosure by another person is strictly prohibited. *************************************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

