tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Please help
Date Tue, 26 May 2009 17:37:58 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

On 5/25/2009 6:30 PM, Mark Thomas wrote:
> OK. You need to remove the invoker section and do something like this:
>     <servlet>
>         <servlet-name>WebStocks</servlet-name>
>         <servlet-class>full.package.name.WebStocks</servlet-class>
>     </servlet>
> 
>     <servlet-mapping>
> 	<servlet-name>WebStocks</servlet-name>
>         <url-pattern>/WebStocks</url-pattern>
>     </servlet-mapping>
> 
> and modify your application to call /WebStocks rather than
> /servlet/WebStocks

There's no reason to change /servlet/WebStocks to /WebStocks... there's
nothing inherently wrong with the /servlet/ path prefix. Leaving the
/servlet/ on there makes the "upgrade" path easier.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkocKPYACgkQ9CaO5/Lv0PBkyACguqlIv8pIwYvi2BH1ksVUSRME
F/cAn0MIAfjVk8iLbzO+ScnmUJqaNnIJ
=z+aA
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message