On Tue, 15 Feb 2005 15:53:15 -0500, Manuchehar Khan <[EMAIL PROTECTED]> wrote:
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application > 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> This is the problem ... the <listener> element was added in Servlet 2.3, so you need to use the 2.3 version of the DTD: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> Of course, you'll need a 2.3 container to run in as well. If you only have 2.2, then use a Struts PlugIn instead of ServletContextListener. Craig --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]