Nice.... didnt know Resin did that...
I think the answer is you cant do it from XML configs... but maybe a guru will correct me... hopefully ;)

Its probably about 20 lines of code though.... I do that sort of stuff in a servlet. ie in Tomcat you can map urls to a servlet... and then let the servlet display the Jsp or other servlet... which is wot I imagine Resins default invoker servlet is doing...

Got me wondering.... probably fairly easy to modify Tomcats default servlet to do that... Just a guess... but i wonder wot one would find if u searched for "tomcat invoker servlet enhancements"... kinda thing that I imagine has been done...

The official answer is... tomcat users can program dude!... we dont need that... haha.... but it is kinda nice ;)

----- Original Message ----- From: "Manca Davide" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Friday, May 18, 2007 9:42 AM
Subject: path mapping on tomcat


Hello,



I need to do in Tomcat 6 the equivalent of these Resin 2 directives :



  <path-mapping url-pattern="/activeadv/*"
real-path="/doc_root/activeadv/"/>

  <path-mapping url-pattern="/includes/*"
real-path="/doc_root/includes/"/>



Thank you.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to