Please read this FAQ:

http://www.tuxedo.org/~esr/faqs/smart-questions.html

Specifically read the topic:

Don't flag your question as "Urgent"...

Once you have read this, please repost your inquiry.

George Sexton
MH Software, Inc.
Voice: 303 438 9585
http://www.mhsoftware.com


-----Original Message-----
From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
Sent: 01 October, 2002 10:31 AM
To: '[EMAIL PROTECTED]'
Subject: URGENT lost modifications for the web.xml file
Importance: High



        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]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to