aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 12678
Assuming you mean Apache Tomcat - do the example servlets and JSP that come with it work?

Java Resources at
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
Similar Threads
JSP/Apache...Symbolic Link Problem
Include html file from outside web application?
Creating shortcuts for programs
going nuts trying to reference images on server
how to automatically lunch my app when windows boots?