Hi,
I added the following element in my web.xml file:
<!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>
<listener>
<listener-class>
com.entreprise.My_ServletContextListener
</listener-class>
</listener>
I saved the file. I compile my application, I close the web.xml
file and open it again the file is updated.
But when I run the application, the web.xml is modified and I lost
the listener entrie why ?
If I added the following entrie
<error-page>
<exception-type>org.omg.CORBA.UserException.Toto</exception-type>
<location>/pages/errorPage.jsp</location>
</error-page>
When I run my application the entrie is yet available.
why it is not the case for listener element ?
I use Tomcat4.0.4.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>