| Author |
In how many ways we can call another servlet from the doPOST()
|
Bhairava Surya
Ranch Hand
Joined: Aug 19, 2007
Posts: 45
|
|
Hi All,
In how many ways can we call another servelt from the doPOST() method??
Thanks & Regards,
Ravi.
|
 |
David O'Meara
Rancher
Joined: Mar 06, 2001
Posts: 13459
|
posted

0
|
|
what do you mean by 'call'?
|
 |
Bhairava Surya
Ranch Hand
Joined: Aug 19, 2007
Posts: 45
|
|
|
How can we redirect from doPOST() of one servlet to another.
|
 |
Amit ChaudhariC
Ranch Hand
Joined: Aug 06, 2009
Posts: 33
|
|
Please check RequestDispatcher API.
Regards,
amit
|
 |
Bhairava Surya
Ranch Hand
Joined: Aug 19, 2007
Posts: 45
|
|
|
Other than RequestDispatcher is any other way
|
 |
David O'Meara
Rancher
Joined: Mar 06, 2001
Posts: 13459
|
posted

0
|
you could call the servlet directly
new MyServlet.doPost(request, response) - not that I'm suggesting it.
Maybe if you told us what you were trying to do it would help us provide suggestions?
|
 |
 |
|
|
subject: In how many ways we can call another servlet from the doPOST()
|
|
|