tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graeme Wallace" <gwall...@houston.rr.com>
Subject URI Mapping with Apache and Tomcat
Date Fri, 01 Sep 2000 04:02:24 GMT
This works for me, for all you guys trying to beat your head off the
desk :-)

Assume the webapp is called helloworld in server.xml


web.xml
-------

  <servlet>
     <servlet-name>Controller</servlet-name>
	 <servlet-class>com.xxi.ControlServlet</servlet-class>
  </servlet>
  <servlet-mapping>
      <servlet-name>Controller</servlet-name>
	<url-pattern>/info/*</url-pattern>
  </servlet-mapping>


tomcat-apache.conf
------------------

Add the following

<LocationMatch /helloworld/info/* >
	SetHandler jserv-servlet
</LocationMatch>


regards,


G.

Mime
View raw message