path mapping on tomcat

2007-05-18 Thread Manca Davide
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.

Re: path mapping on tomcat

2007-05-18 Thread Johnny Kewl
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

How do you do virtual directory / path mapping in a webapp

2007-01-10 Thread Barrie Selack
I am converting from Resin and there I can map a directory not inside the webapp to one which can be reached via a URL and translated by Resin as below: path-mapping url-pattern/files/*/url-pattern real-path/realdir/files/real-path /path-mapping I can't seem to find a way in Tomcat

Re: How do you do virtual directory / path mapping in a webapp

2007-01-10 Thread Tim Funk
map a directory not inside the webapp to one which can be reached via a URL and translated by Resin as below: path-mapping url-pattern/files/*/url-pattern real-path/realdir/files/real-path /path-mapping I can't seem to find a way in Tomcat to do that. Do I have to write my own filter

Re: How do you do virtual directory / path mapping in a webapp

2007-01-10 Thread Barrie Selack
a directory not inside the webapp to one which can be reached via a URL and translated by Resin as below: path-mapping url-pattern/files/*/url-pattern real-path/realdir/files/real-path /path-mapping I can't seem to find a way in Tomcat to do that. Do I have to write my own filter

Path mapping...

2006-11-10 Thread Peter Björkman
(And sorry for hijacking the previous thread - my bad, won't happen again). Hi! I have a web-app residing in /, the docBase is relative to appBase. I have an issue where I want to serve static files located outside the web-app. For example: /mydir/index.jsp comes from the relative docBase as

Re: Path mapping...

2006-11-10 Thread Rashmi Rubdi
] To: users@tomcat.apache.org Sent: Friday, November 10, 2006 3:11:54 AM Subject: Path mapping... (And sorry for hijacking the previous thread - my bad, won't happen again). Hi! I have a web-app residing in /, the docBase is relative to appBase. I have an issue where I want to serve static files

Path mapping...

2006-11-09 Thread Peter Björkman
Hi! I have a web-app residing in /, the docBase is relative to appBase. I have an issue where I want to serve static files located outside the web-app. For example: /mydir/index.jsp comes from the relative docBase as usual. /images/myimage.gif comes from /var/static/images/myimage.gif, an

Re: Path mapping...

2006-11-09 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

Adding classpaths and path mapping

2006-07-12 Thread Barrie Selack
/properties' compile='false'/ classpath id='WEB-INF/hibernate' source='WEB-INF/hibernate' compile='false'/ Is there a way to do this for a Virtual Host in Tomcat? Also you can specify path mapping to hide the real path such as: path