File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Symbolic link wierdness Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Symbolic link wierdness" Watch "Symbolic link wierdness" New topic

Symbolic link wierdness

Rathnakar Tadiparthi

Joined: Nov 30, 2001
Posts: 3
I'm using Apache on Compaq Tru64. I've setup a symbolic link and it works fine for static html and gifs. When I try to access a JSP though, I get a FileNotFoundException. The JSP is stand-alone(no references to any classes). What could be causing this? Any ideas would be appreciated, because I am totally lost on this one!!
-- Ratan
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
Assuming you mean Apache Tomcat - do the example servlets and JSP that come with it work?
Rathnakar Tadiparthi

Joined: Nov 30, 2001
Posts: 3
Yes, the demo apps work from their respective default locations. The problem happens only for custom JSPs accessed via symbolic link. The sym-link pointed path is completely ignored and the app-server is looking at the default directories under Apache/Apache/htdocs...
I agree. Here's the link:
subject: Symbolic link wierdness
It's not a secret anymore!