Re: path mapping on tomcat

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

Re: Path mapping...

2006-11-10 Thread Mark Thomas
Rashmi Rubdi wrote: > I'm not too sure if this will help but, you might want to try URL Rewriting, > if you have Apache as the web server you could use it's rewrite features. > > I'm not sure if it'll work since as you've mentioned /var/static/images/ is > outside your applications context. Thi

Re: Path mapping...

2006-11-10 Thread Rashmi Rubdi
Peter, I'm not too sure if this will help but, you might want to try URL Rewriting, if you have Apache as the web server you could use it's rewrite features. I don't think Tomcat5.0 has a Rewrite feature built in but I came accross this one: URLRewriteFilter http://tuckey.org/urlrewrite/ it wo

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. Thi