Hi all,

 I have forwarded from a servlet to a JSP page using
RequestDispatcher.forward(). In the JSP page, I want to get the original URL
(the URL of the servlet). And I don't want to use request.setAttribute() in
the servlet. Is there any way to get the servlet's URL from JSP page? I have
tried using request.getRequestURI() but it returns the URI of JSP page.

 Thanks in advance!

 Thai

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to