If I send the response from servletA to servletB, what method in servletB will
be invoked? doPost or doGet or some other thing? Would I have to override the
service() method in servletB? What sort of request would servletB end up with?
--- Kevin Mukhar <[EMAIL PROTECTED]> wrote:
> Vipul Garg wrote:
> >
> > How can I invoke a servlet reference or rather say an object of one servlet
> > in another servlet. So that I can use the methods defined in the servlet in
> > the other servlet.
>
> - Put the methods into another non-servlet class that can be used by both
> servlets
> or
> - Send an HTTP request from the the first servlet to the second asking for
> the
> service
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html