What if you just set up a symbolic link inside the
webapp itself going to the actual directory.  

for example you have a directory /media/ - in your
webapps you create a symbolic link to the media
directory but access it as if it is a local dir.
../webapps/myWebApp/media->/media/


> Has anyone gotten symbolic links working with Tomcat
> 4.1.18? I inserted
> into my server.xml:
> 
>  
> 
> <Context path="/MyApp" docBase="webapps/Media"
> debug="0">
>        <Resources
>
className="org.apache.naming.resources.FileDirContext"
> allowLinking="true"  />
> </Context>
>  
>  
> 
> the docBase is set to an images directory that I
> want all my web
> applications to share. Once Tomcat is restarted
> errors get thrown. Am I
> completely off base? Does anyone have a suggestion
> how to share images
> among all of your web applications? Please any and
> all suggestion
> greatly appreciated.
> 
>  
> 
> Pat Pomatto
> 
>  
> 
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to