Hello all,
I wanted to serve everything in the root
directory(html, jsp) through this EntryServlet, in
which I do some counting and various stuff.

I thought the way to map a servlet to the root was:

<servlet>
   <servlet-name>entry</servlet-name>
   <servlet-class>common.EntryServlet</servlet-class>
</servlet>

<servlet-mapping>
   <servlet-name>entry</servlet-name>
   <url-pattern>/*</url-pattern>
</servlet-mapping>


But when I do that, I think it makes recursive call to
itself, because my debug message in doGet message gets
printed on the tomcat console like a thousand times
and tells me that stack overflowed.

What am I doing wrong?


http://messenger.yahoo.com.au - Yahoo! Messenger
- A great way to communicate long-distance for FREE!

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to