You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vicente Martínez <vi...@ctv-jet.com> on 2000/08/09 12:02:34 UTC
More on contexts
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm trying to serve static & dynamic contents separatly, and for this
purpose I've configured TomCat like the User Guide tells to do.
But now, I have some problems with the context configuration.
In User Guide :
# (4) Instructing Apache to send all the .jsp files under the context
to the
# jserv servlet handler.
<LocationMatch /examples/*.jsp>
SetHandler jserv-servlet
</LocationMatch>
# (5) Direct known servlet URLs to Tomcat.
ApJServMount /examples/servlet /examples
But when I try to make step 5, writting in the browser
...../examples/servlet or ...../examples does nothing.
Q: What should I do in server.xml?
Define a context named /examples/servlet pointing to
webapps/examples/servlets
Redefine the context named /examples pointing to ¿?
Please, if anyone can help me I'll save lot of time.
Thanks.
______________________________________________
Vicente Martínez Martínez / vmartinez@uni2.es
Tel: +34 (9)6 504 00 00 - Extensión: 44733
Fax: +34 (9)6 504 00 47
______________________________________________
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBOZEeK+9AV2E2QmOeEQIfTACeI1ZcgN1JVeQtuOVfl0GLjx5dUBMAoN8Z
hoE0WvkokQWB5eJAb7xDQiQ8
=Uxgs
-----END PGP SIGNATURE-----