Each folder in the webapps is an application.
Each application must have a sub directory named "WEB-INF".

Create your folder under the webapps directory, create the sub folder 
"WEB-INF" and restart tomcat. 
You should be able to start playing with jsps in that directory.

If you named the directory "myjsps" then you would access them  with the 
following url (assuming that you used the default set up when you installed 
tomcat).

http://localhost:8080/myjsps


Check out: http://www.coreservlets.com 






On Sunday 22 June 2003 05:28 pm, you 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]

Reply via email to