G'day, You're first stop should be here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html and for something more indepth you can check out the online version of Core Servlets and JSP at: http://www.coreservlets.com/ I think by default support for symbolic links are switched off so that is why it wouldn't be working for you, the ROOT webapp is a special one and servers from the root context as the name would suggest. What you want to do is create something like: webapps/ /mywebapp yourjsp.jsp /asubdir/asub.jsp /WEB-INF /classes /lib web.xml (copy the one from the ROOT web app to start You JSP would then be accessible at http://localhost:8080/mywebapp/yourjsp.jsp and http://www.coreservlets.com/asubdir/asub.jsp That would give you a good start and the documentation should help with the rest. :) Cheers, -- Jason Bainbridge http://jblinux.org On Mon, 23 Jun 2003 05:28, [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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
