Not really sure why you'd need to do this. If you wanted to eliminate the
contents of the request object, then what are you intending to pass on to
the other method? Not sure if I'm interpreting your question correctly.
Anyway, all you have to do is post to the other servlet without any values.
You don't even need to mess with the request object because you can post to
another servlet, cgi, etc, and pass whatever you want, including nothing.
Or if you're just moving it to another method, just call the method without
passing anything. If you want to change the values, then just change them
yourself before you pass them.
Matt
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's JavaServlet API
Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Prasad M
Gowda
Sent: Thursday, October 12, 2000 8:41 AM
To: [EMAIL PROTECTED]
Subject: Changing the contents of servlet request object.
> Hi All,
>
> Is it possible to change the contents of the request object. What I
> basically
> intend to do is the HttpServletRequest object has a query string, I want
> to
> change the values or if possible to eliminate the query string in the
> request
> object in the query string and pass along the request object to another
> method.
>
> Any help in this regard would be of great help.
>
> Thanks,
>
> Prasad M
>
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html