You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christoph Fischer <cf...@bb-sw.de> on 2002/07/03 14:40:00 UTC
Tomcat404 calls init of servlet twice on startup
Hi,
I have the following simple servlet running under tomcat 404, java 1.4:
Unfortunately the init-procedure is called twice ???
Under tomcat 401 this was only done once.
Did I miss any setting in server.xml ?
Chris
public class test extends HttpServlet implements SingleThreadModel {
private static final String CONTENT_TYPE = "text/html";
public void init(ServletConfig config) throws ServletException {
super.init(config);
System.err.println("Initial call");
...
}
.....
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>