Sym links are DISABLED by default in Tomcat, for security reasons. This is in the release notes.


I think your frustration level will be GREATLY diminished if you take some time to read the docs, such as the application developer's HOWTO, and perhaps the classloader HOWTO, before diving in. Yes, you may have lots of experience with other technologies, but that doesn't mean they are similar to Tomcat. Also keep in mind that Tomcat is a reference implementation of the servlet spec...that means that in most cases, Tomcat is unforgiving, and DOES NOT let you slide or make assumptions about what it is you are trying to do. In the majority of cases, you have to be 100% explicit in your Tomcat configuration. This is by design...you'll save yourself a lot of time, effort, and grief if you pickup the ground rules before jumping in.

John

On Sun, 22 Jun 2003 14:28:49 -0700 (PDT), <[EMAIL PROTECTED]> wrote:

I am totally new to JSP/serlets, my background is C++
then PHP and recently Java again. I am fine with
these, but this has me baffled.

I am almost home when it comes to the install, had
some issues but almost all is working.

My last hurdle is one which is very confusing.

ok, there is a webapps directory, inside is a very
dirs, examples, ROOT etc.

the normal root page loads up and I can get to the
examples, the confusion starts here, the ROOT houses
the index.jsp, but the examples are not UNDER ROOT
they are a different dir back one in webapps.

WHEN I add a jsp page into the root it works fine

SO all I want to do is start messing with JSP for now.
I have a folder which houses my work seperate from the
app structure. so I created a jsp folder and then
threw in s ln -s to it in the ROOT (also tried the
webapps) then I renamed the main index file under
ROOT, so there is not one, then when I goto root in
the browser I get a dir tree. there is my jsp folder
BUT when I click on it it says resource is not
available!!

what I did was I changed the grp on the folder to be
tomcat4, just as the other items are.

why can't I see this folder and get to a jsp in there?

the docs are confusing and all they talk about is
setting up web apps and stuff, I am far from this, I
just want to do a very tests to get going.

Do I need to create web app for each of them?

I have looked online and have not found the answer,
please help!

Thanks

tomcat 4.1.24
redhat 7.3

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to