Hello everyone....

I am running windows xp, tomcat 5.5.17, java jdk1.5.0_08.

I have created an webapp called "second"

have created the file:
C:\Program Files\Apache Software Foundation\Tomcat
5.5\conf\Catalina\localhost\second

which contains:
<Context path="/second" reloadable="true" docBase="C:\Program Files\Apache
Software Foundation\Tomcat 5.5\webapps\second" workDir="C:\Program
Files\Apache Software Foundation\Tomcat 5.5\webapps\second\work" />


In /webapps/second I have a index.jsp file which works fine.

In /webapps/second/WEB-INF/classes I have a "three.class" file which I
compiled in Eclipse 3.2 without error.

In /webapps/second/WEB-INF/ I have a "web.xml" file which contains...

<servlet>
    <servlet-name>three</servlet-name>
    <servlet-class>three</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>three</servlet-name>
    <url-pattern>/three</url-pattern>
  </servlet-mapping>

As I said when I go to localhost/second the .jsp file shows up perfectly. 
When I try localhost/second/three I am getting a 404 error.  I have tried
everything and am starting to get frustrated.


Any ideas?? Thanks in advance...


Jim




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to