Java Server Pages

haye guys!

This migh be a trivial problem for many but for me this has become a headache.

I came across a platform (solaris) hosting a website with a custom build libraries. The path at which the tomcat is installed is as follows

/opt/jakarta-tomcat4.1

All the JSP pages are placed under the following directory structure

/opt/mmcp/webApp

/opt/mmcp/logs

/opt/mmcp/lib

/opt/mmcp/exp

/opt/mmcp/docs

/opt/mmcp/config

/opt/mmcp/webApp/Render (contains all the jsp files)

/opt/mmcp/webApp/WEB-INF (cotains web.xml & mmcp.tld)

/opt/mmcp/webApp/WEB-INF/lib (contains all the jar files)

Question 1:

What i dont understand is that how is this path visible to tomcat as it isnt placed under the webApp directory in tomcat installation directory.

Question 2:

Also if any modification is done in the JSP page, produces an error (FileException) refereing to the uri mentioned at the start of the JSP page.

I know its hard to understand what i mean, in case anyone has seen such problem, he migh assist me that whts going on here.

[1135 byte] By [fahadaizaza] at [2007-11-27 8:00:30]
# 1

fahadaizaz,

> /opt/jakarta-tomcat4.1

Wow, that's so old it's asking to borrow my car keys.

That's an interesting question. Sorry I don't know the answer... but have a good look around your environment, especially if you inherited a user account from some hairy hacker (like me). It could be a symbolic link, it might be an alias on java, or something I haven't thought of trying yet.

Keith.

corlettka at 2007-7-12 19:42:28 > top of Java-index,Java Essentials,New To Java...
# 2

1. It is possible to set a different project directory with the help of a specific XML file. I don't believe this is documented in the regular tomcat documentation, but I believe the manager application is configured like this so it can be stored outside the webapps directory. Take a look at that.

2. I have no idea what is causing this, sorry

gimbal2a at 2007-7-12 19:42:28 > top of Java-index,Java Essentials,New To Java...
# 3
Thanks guys for looking into this ... i think i should explore this a bit more. May be I get an idea whats going on here ...
fahadaizaza at 2007-7-12 19:42:29 > top of Java-index,Java Essentials,New To Java...