Mapping arbitrary URL's to arbitrary paths with Tomcat 4.0?

Hello,

I'm trying to debug a web application under IntelliJ IDEA 3.0 (build 662) and the Tomcat 4.0.6 with the plugin.

Until now we used Resin 2.0 under JBuilder 4 and for the development environment, we took advantage of a configuration option available in Resin 2.0 which allows mapping arbitrary URL's to arbitrary file paths, e.g.:

The tag is pretty equivalent to Tomcat's tag, but I haven't found an equivalent for ]]> in Tomcat (the example above simply tells resin to find all files accessed under /providercenter/scripts/pagespecific under the folder ../site/scripts/pagespecific, which is relative to the Resin config file).

Is this possible under Tomcat, short of writing some general servlet to do that using pathInfo?

Thanks,

--Amos

Please sign in to leave a comment.