Re: How do you select to call doPost or doGet method of servlet?

2002-12-03 Thread m batsis
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

RE: How do you select to call doPost or doGet method of servlet?

2002-12-03 Thread jon wingfield
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

How do you select to call doPost or doGet method of servlet?

2002-12-02 Thread Peter Lee
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]

Re: How do you select to call doPost or doGet method of servlet?

2002-12-02 Thread Bill Barker
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