Hi,

I am using tomcat 3.2. I am calling servlet like this.

http://localhost/employee/servlet/dispPage?p=sales

from servlet I redirecting to jsp page. But jsp page URL coming like this

http://localhost/employee/servlet/disp.jsp

I want URL like this.

http://localhost/employee/disp.jsp

my servlet forward function like this.

  private void forward( String url, HttpServletRequest request,
HttpServletResponse response)
    throws IOException, ServletException {


etServletConfig().getServletContext().getRequestDispatcher( url).forward(req
uest, response);

      return;
    }

can any one give me some idea for this.

Thanks
sundaram

Reply via email to