A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Web Component Certification (SCWCD/OCPJWCD)
Joined: Feb 27, 2003
Sep 04, 2003 23:29:00
when we call rd.forward("/servlet/AccountServlet") in the doPost() method of LoginServlet, which doXXX() method is called in the AccountServlet. Assume both LoginServlet and AccountServlet are in the same web appl.
Joined: Aug 07, 2003
Sep 05, 2003 07:13:00
I think it'll be doGet() since the default method is GET if POST is not explicitly specified.
Joined: Jun 29, 2003
Sep 05, 2003 11:43:00
Well best way to learn is to try it out and see which method it calls but it appears it will be the doGet
The secret to creativity is knowing how to hide your sources.
I agree. Here's the link:
Servlet is not running
prb from Hemant Deshmukh...
HTTP Status 404 - /ch1/Serv1/
How does the url "webappname/servlet/..." work well?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014