tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vicente Martínez <vicente.marti...@ctv-jet.com>
Subject More on contexts
Date Wed, 09 Aug 2000 10:02:34 GMT
-----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-----


Mime
View raw message