I have a servlet that looks something like this:
public class ExampleServlet extends HttpServlet { public void doGet(HttpServletRequest request, HttpServ
The question is vague and ambiguous (is the servlet calling itself on every forward again?), but it much sounds like that you need request.getAttribute("javax.servlet.forward.request_uri").
request.getAttribute("javax.servlet.forward.request_uri")