wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 12760
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: http://aspose.com/file-tools
subject: Symbolic link wierdness
Similar Threads
going nuts trying to reference images on server
how to automatically lunch my app when windows boots?
Creating shortcuts for programs
Include html file from outside web application?
JSP/Apache...Symbolic Link Problem