Bill Barker wrote:
You don't. The call is determined by method on the original request.
Yes, the client (a browser for example) is the one that decides what
method of request to use. You respond to any of those types with the
appropriate method (doGet etc). Note that you can implement one
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
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]
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