U don't call a JSP or a servlet U forward req,res to jsp or servlets.
It is exactly the same as u would do for a servlet.
example:
getServletConfig().getServletContext().getRequestDispatcher("/jsp/test/test.
jsp").forward(request, response);
Regards,
Milind
----- Original Message -----
From: [Jwas J] <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 10:55 AM
Subject: Calling JSP page from servlet


> Hi
>
>      How can i call a JSP page from a Servlet??
>
> Regards
> Jwas
>
>
___________________________________________________________________________
> 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

Reply via email to