tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donie Kelly <donie.ke...@tecnomen.ie>
Subject RE: Servlet init() callin twice on startup. PLease help.
Date Mon, 29 Apr 2002 18:29:08 GMT
I guess not. Search the archives as I've seen this problem discussed here in
detail...

Hope you find it.
Donie

-----Original Message-----
From: IvanLatysh [mailto:ivan@yourmail.com]
Sent: 29 April 2002 19:25
To: Tomcat Users List
Subject: Re: Servlet init() callin twice on startup. PLease help.

Hello, Donie!
You wrote to "'Tomcat Users List'" <tomcat-user@jakarta.apache.org> on Mon,
29 Apr 2002 19:14:32
+0100:

 DK> Do you have  the servlet mapped twice in web.xml?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
  <display-name>Postmaster</display-name>
  <description>On-Line data validation system.</description>
  <servlet>
    <servlet-name>execloader</servlet-name>
    <servlet-class>postmaster.execLoader</servlet-class>
    <load-on-startup>9</load-on-startup>
  </servlet>
  <servlet>
    <servlet-name>servlet-shtml</servlet-name>
 
<servlet-class>com.borland.jbuilder.webserverglue.shtml.ShtmlLoaderEcho</ser
vlet-class>
  </servlet>
  <servlet>
    <servlet-name>sqltest</servlet-name>
    <servlet-class>postmaster.sqlTest</servlet-class>
  </servlet>
  <servlet>
    <servlet-name>validator</servlet-name>
    <servlet-class>postmaster.validator.validator</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>servlet-shtml</servlet-name>
    <url-pattern>*.shtml</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>sqltest</servlet-name>
    <url-pattern>/sqltest</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>validator</servlet-name>
    <url-pattern>/validator</url-pattern>
  </servlet-mapping>
</web-app>

---
Yours sincerely, Ivan Latysh.
Ivan@yourmail.com
http://ivan.yourmail.com


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message