-
servlets Questions (2 messages)
- Posted by: sri kanth
- Posted on: June 07 2006 05:36 EDT
Can i call doPost() method with in doGet() method? if it is possible. what is use of it? BYE srikanthThreaded Messages (2)
- Re: servlets Questions by Fredrik Borgh on June 08 2006 09:23 EDT
- Re: servlets Questions by Fredrik Borgh on June 08 2006 09:23 EDT
-
Re: servlets Questions[ Go to top ]
- Posted by: Fredrik Borgh
- Posted on: June 08 2006 09:23 EDT
- in response to sri kanth
The two methods are just convenience methods, so you as a programmer know if the request was a GET or a POST. They're called from the service()-method (which you can override if you don't care about the type of call). Cheers, Fredrik... -
Re: servlets Questions[ Go to top ]
- Posted by: Fredrik Borgh
- Posted on: June 08 2006 09:23 EDT
- in response to Fredrik Borgh
I.e YES, you can call doPost() from doGet() and vice versa.