The symlink solution could work, except that it is not what I want to do. The production application is hosted on linux servers, but we also have to deal with the developpers' computers, which runs windows

What I need basically il to have a subdirectory of my webapp located somewhere else on my disk
ie
app                                     = /srv/webapp/myapp
 -------- META-INF
 -------- WEB-INF
 -------------------- classes
 -------------------- lib
 -------------------- publication               = /srv/webapp/publication
 -------- images
 -------- resources                     = /srv/webapp/resources
 -------- index.jsp
        ...

where /srv/webapp/publication and /srv/webapp/resources are not really subdirectories of /srv/webapp/myapp, but are seen like they were by the application

Actually on oc4j, I can get the real path with ServletContext.getRealPath(String path); where path is for example "/WEB-INF/publication"





At 17:09 11/04/2007, Hassan Schroeder wrote:
On 4/11/07, Sylvain Roche <[EMAIL PROTECTED]> wrote:

I took the images example to explain and simplify the problem, but

Regardless, I don't understand what you're trying to do --

do you want to have e.g.
   example.com/foo/images
   example.com/bar/images
where 'images' points to the same content?

If so, you could handle that via symlinks. If it's something else, maybe
you can provide a different example...

--
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

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


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