"Erwin B. Mendoza" wrote:


> Hi Everybody,
>
> I'm just new in developing Java Servlets. Is there a way to on how to =
> call the servlets of another servlets? And also requesting for a URL via =
> a servlet? Can anyone help me for this one?
>
> Any help would be highly appreciated.
>
> Thanks .....
> Best Regards,
> Erwin B. Mendoza
> Cronus Group, Inc.

Hi :-)

- RequestDispatcher
rd=getServletContext().getRequestDispatcher("/servlet/MyServlet1");
   rd.forward(request, response);
   //rd.include(...);

-
response.sendRedirect(response.encodeURL("http://host:port/myapp/servlet/MyServlet1";);



Bo
July 04, 2001

___________________________________________________________________________
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

Reply via email to