I am using a servlet to perform some logic, and it then forwards to a JSP.
The problem is that the URL (in the display) still says the name URL  of
the servlet not the JSP, and thus the relative paths of the links in the JSP
are all messed up.  They're trying to link relative to the servlet, not the
JSP.
*AND* I can't seem to figure out a way to specify an absolute path using the
following
syntax ... it won't accept one.  ANy thoughts?

        ...
        String URL = "/qaTool/index.jsp";
        ServletContext sc = getServletContext();
        RequestDispatcher rd = sc.getRequestDispatcher(URL);
        rd.forward(request,response);


Thanks

Neal

===========================================================================
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