You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by William Au <bi...@cnet.com> on 2000/08/28 19:32:58 UTC

AddHandler vs SetHandler

I have no problem with the AddHandler in the apache conf file generated by Tomcat:
AddType text/jsp .jsp
AddHandler jserv-servlet .jsp


However, when I tried using SetHandler following the example in the Tomcat user
guide, my JSPs are treated as text:
<LocationMatch /examples/*.jsp>
    SetHandler jserv-servlet
</LocationMatch>

Any idea?

Bill