tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: examples/servlet path broken?
Date Mon, 16 Dec 2002 17:21:23 GMT
Hi,
The invoker servlet mapping is disabled by default in 4.1.12.  Comment
it back in $CATALINA_HOME/conf/web.xml.  This change was made for
security purposes.  You can find more details in the list archives and
the release notes.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Daryl Lee [mailto:dlee@altaregos.com]
>Sent: Monday, December 16, 2002 12:01 PM
>To: Tomcat User List
>Subject: examples/servlet path broken?
>
>I've "upgraded" to Tomcat 4.1.12, and the servlet examples don't work
any
>more.  The servlet examples use a path like
>".../examples/servlet/HelloWorldExample" to access individual servlets.
>The only way I could make HelloWorldExample work was to give it the
full
>monty in examples/WEB-INF/web.xml by defining it as a servlet and
>providing a mapping, a la:
>
>   <servlet>
>	<servlet-name>
>		HelloWorldExample
>	</servlet-name>
>	<servlet-class>
>		HelloWorldExample
>	</servlet-class>
>   </servlet>
>
>   <servlet-mapping>
>        <servlet-name>
>           HelloWorldExample
>        </servlet-name>
>        <url-pattern>
>            /HelloWorldExample
>        </url-pattern>
>   </servlet-mapping>
>
>Is there a more generic solution that would re-enable the usage the
>examples expect?
>--
>Daryl Lee
>Marietta, GA
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-
>help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message