Hi
this seems a very classical problem for tomcat users, but I couldn't
find on the web a solution which satisfies me.
We plan to host multiple applications, on a tomcat box. These
applications may all need an images directory. But of course each of
them has a different images directory.
What we want to do is to deploy different versions of each
application, without the need to move the images.
The crosscontext context solution, which is the one given everywhere,
does not correspond to our need, because, as far as I tried it
- I may need an unknow depth for the point I will make the link, for
example, it could be /images/layout/DE_de
- I need to have a mapping inside my web-app, ie inside the context
rather than at the same level
- when I read the doc, it seems to me that this is a workaround, a
misuse of something that was made for being able to dispatch requests
to another application - what I want is only to link something out of
my application deployment path as if it was inside. I don't know if
it is wise to rely on this workaround for long term
- the same mapping (/images) has to be different for each application
basically this is what is performed on Oracle's OC4J with the
virtual-directory directive, on weblogic with
virtual-directory-mapping. Actually I found some kind of virtual
directory on every j2ee server but tomcat. I can't imagine that this
problem has no solution other than the cross context. I may have
missed something, but where ?
Best regards
Sylvain
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]