tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Görling <>
Subject Configuring a Default Servlet
Date Mon, 09 Feb 2004 07:17:18 GMT

I want to have all incomming request forwarded to a default servlet. 
Depending on the URL the request is forwarded to a JSP-page (too dynamic 
to use apache mod_rewrite).

The problem is that if I define the servlet as:

It will work, but when I do 
getDispatcher("MyPage.jsp").forward(request,response), it will forward 
to the servlet in a recursive way.

Is there any way to get a hold of a JSP-dispatcher when forwarding a 
request in order to do this?

Best Regards,

Stefan Görling

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message