Hi,

Im trying to configure a webapp in Tomcat 3.1 that was
running on JServ 1.0, the app is under:
/dir/app_name/

the servlets (classes) and html code is under:
/dir/app_name/java
/dir/app_name/html
/dir/app_name/WEB-INF/web.xml

My configuration in server.xml is:
...
<ContextManager>
<Context path="/dir/app_name/java" docBase="app_name/java" debug="0"
reloadable="true">
</Context>
</ContextManager>
...

And my app web.xml looks like this:
....
<servlet-name>
     servlet1
</servlet-name>
<servlet-class>
     servlet1
</servlet-class>
 <servlet-mapping>
      <servlet-name>
             servlet1
      </servlet-name>
      <url-pattern>
              /app_name/java/servlet1
      </url-pattern>
 </servlet-mapping>
...

Im trying to do not modify the source code that I have in my java
classes
(I don't want to modify all the source code putting /servlet on every
servlet invoqued),
the source code actually make references to servlets like this:

 out.println(" <form action='/app_name/java/servlet1'>");

When I try to execute that the server response me

The requested URL /app_name/java/servlet1 was not found on this server.

I hope somebody give me some help for this problem...

Thanks!

Have a good day!

Aideé


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to