You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marcia Perry <mp...@lbl.gov> on 2001/05/16 00:24:20 UTC

tomcat.conf jsp entries

Hi,
I'd like some clarification of entries for Apache to forward requests
for JSPs to Tomcat.  I notice two sets of entries in tomcat.conf in
various docs and postings -- e.g.,
	set 1):	AddType text/jsp .jsp
		AddHandler jserv-servlet .jsp

	set 2): <LocationMatch /examples/*.jsp>
			SetHandler jserv-servlet
		</LocationMatch>

What are the differences between the tomcat.conf entries in
set 1) and those in set 2)?  When is a <LocationMatch> entry needed?

Thanks,
-- marcia
----------------------------------------------------------------
Marcia Perry                            MPerry@lbl.gov
Lawrence Berkeley National Laboratory   WORK#  (510) 486-6786
1 Cyclotron Road                        FAX#   (510) 486-6363
Berkeley, CA 94720     			MS: 50A-3111