Starting with version 4.1, TC dosen't enable default servlets anymore.
So, you can:
1 Enable default servlet by changing %CATALINA_HOME%/conf/web.xml
(not recommended)
2 Enable default servlet by putting the following into your web.xml
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
3 Create a context into %CATALINA_HOME%/conf/server.xml for your app
4 Create a <context>.xml file for your app and put it into
%CATALINA_HOME%/webappsRegards, Romualdo Rubens de Freitas mailto:[EMAIL PROTECTED]
Guillermo Mora P�rez escreveu:
Hi, I had a JSP/servlet application running ok on a tomcat 4.0.4, I installed a 4.1.24 version, I updated my CATALINA_HOME an move my old
CATALINA_HOME\classes\packageX\servletX.class
to the dir
CATALINA_HOME\webapps\ROOT\WEB-INF\classes\packageX\servletX.class
of the new version, and obviously mi old ROOT dir to my new ROOT.
When I run my JSP's, the system can find the classes into the package of the the new classes directory, but when I try to use the servlets with
/servlet/packageX.servletX
it sends the status 404
Even if I try to run a simple servlet on the classes dir (/servlet/servletY)
What happen? I�ve tried to do the same on a ver 4.1.18 but is the same
Thanks
Guillermo.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
