although you can, in theory, wrap the original request in a
javax.servlet.http.HttpServletRequestWrapper with getMethod() overridden to
return the required value.   (If you want to)

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Barker
Sent: 03 December 2002 07:55
To: [EMAIL PROTECTED]
Subject: Re: How do you select to call doPost or doGet method of
servlet?


You don't.  The call is determined by method on the original request.

"Peter Lee" <[EMAIL PROTECTED]> wrote in message
3DEB811B.8181.C9A6FA@localhost">news:3DEB811B.8181.C9A6FA@localhost...
> When using the Requestdispatcher, how do you select to call doPost or
doGet method
> of servlet? How to specify which one to call?
>
> Thanks.





--
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]>

Reply via email to