If I'm not mistaken you put the java source of the servlet into /WEB-INF/classes/, the directory takes class files not source files as per specification.
So you will need to compile the source first.

[EMAIL PROTECTED] wrote:

Hello
Why when I add:

<listener>
<listener-class>LoadMycompServletAtStartup</listener-class>
</listener>

to a sparsely populated local web.xml file (webapps/mydir/WEB-INF/web.xml) does the system fail - 404 error?. Without this addition, the page loads.
The servlet 'LoadMycompServletAtStartup' is located: webapps/mydir/WEB-INF/classes/LoadMycompServletAtStartup.java. Must a specific path or URL to the file be defined? The syntax above is the only addition made since the installation of Tomcat.
Thanks

paul.


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

Reply via email to