I've setup tomcat to follow a symlink to a directory outside of the webapp.
That part works just fine. I can load a jsp that is linked outside the webapp
directory. The problem that I am having is that Tomcat is not allowing a Java
Servlet to completely follow the symlink.
Here is what I've got:
webapp/images -> /images
/images/image.jpg -> subdir/image.jpg
When the servlet tries to access the file webapp/images/image.jpg Java doesn't
think the file exists. When I print out the canonical path of the file all I
get is /images/image.jpg. This is not correct, I should get
/images/subdir/image.jpg. My first instinct was that this was a Java problem.
But I tested it in a basic java program and the image loaded up just fine.
Which leads me to believe that I have a problem with my Tomcat configuration.
I am running Tomcat 5.0.28 on IRIX.
---------------------------------
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.