Hi,

I have servlet that does the following forward in doGet:
        ServletContext sc = getServletContext();
        RequestDispatcher rd = sc.getRequestDispatcher("/Main.html");
        rd.forward(request, response);

The problem I am having is that I'm trying to redisplay the main page which
has several frames in it.  The frames become relative to the servlet path:

/root/servlet/Login.jsp  it should be  /root/Login.jsp

which causes them not to be found.  I realize that this is probably because
I am get the request dispatcher from the servlet context but I don't know
how else to do it.

Can someone point me in the right direction?

Thanks

Kent

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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