>>> Bob Yang <[EMAIL PROTECTED]> 9/17/99 3:01:31 PM >>>
>Can I send a standard http request from
>AppServlet to DataServlet?
This is more complicated than you might think. In general you can
only pass requests about, not responses, which is more what you want
to do.
>Or are there any other better ways?
In general the most often given answer on the list to this sort of
question is: can you do it another way?
Why are you getting 2 servlets to talk to each other? it sounds more
like you need to have the code that is is DataServlet and deals with
the database available to AppServlet.
Servlets are not really designed to be components in the way you're
trying to use them, that's why you're finding it tricky.
Remodel your classes and all will be well.
Hope that helps.
Nic
___________________________________________________________________________
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