Hi -
I'm trying to configure a controller servlet to handle *any* and every
request sent to the web server. Inside the servlet, when I use
RequestDispatcher to forward to a JSP page, my servlet continually gets
called until I get the error, "too many servlet includes". Essentially, it
seems as though the controlling servlet is being called again and again upon
this forwarding action. How should I resolve this and still have the ability
to have the controller servlet at the top level?
Here's part of the config file:
<servlet-mapping url-pattern='/*' servlet-name='entry'/>
<servlet servlet-name='entry' servlet-class='ControllerServlet'/>
Thanks,
Philip
------------------------
Philip Weaver, maker
http://www.philmaker.com
------------------------
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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