[thelist] finding the right path in Tomcat

Tom Dell'Aringa pixelmech at yahoo.com
Fri Jul 5 17:13:04 CDT 2002

So I'm writing this little bug track app, and I'm starting to do
pages in a webapp directory. So my structure is:


to use as the home directory. (I don't want to use ROOT, will
probably do other stuff on this server)

I made a folder in there called "includes" so you would have

I put my db connection in there as an include and used the line:

<jsp:include page="/includes/bugConnection" flush="true"/>

in my jsp. But, I get an error. Tomcat doesn't see bugTrak as the
root, which I guess makes sense. I tried "/bugTrak/includes.." which
does not work either.

how can I find out what the path is? If I go to
http://localhost/bugTrak/ it will give me my index.jsp page!


var me = tom.pixelmech.webDeveloper();

Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free

More information about the thelist mailing list