You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dodd Gatsos <dg...@slb.com> on 2002/12/19 18:27:26 UTC

Forwarding to an

Trying to forward a request to a certain location in a JSP page.  Ie an <a
name=> section.  It doesn't seem to work.

I've tried both:

getServletContext().getRequestDispatcher("/admin/AgentReport.jsp#section2").
forward(req,res);

and:

response.sendRedirect("/admin/AgentReport.jsp#section2");

But neither seem to work.  I've also tried replacing the # with the Encoded
URL character without success.

I don't know if this is an HTML/Browser issue or an issue with the Servlet
spec.

Any Comments, Ideas, Suggestions, Work Arounds?

Thanks,
Dodd



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>