PLEASE REMOVE ME FROM YOUR MAILING LIST.I DO NOT KNOW WHO YOU ARE... THANK
YOU...
----- Original Message -----
From: "Larry Isaacs" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 7:48 AM
Subject: RE: Tomcat 3.2 : Include File Paths


> If your docBase is set to "/net/webapps" then what
> you describe should work.  If your docBase is set to
> "/net/webapps/test", then the ".." in your include
> is trying to go outside of the webapp, which is not
> allowed.
>
> Cheers,
> Larry
>
> > -----Original Message-----
> > From: Steve [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, June 05, 2002 7:12 AM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat 3.2 : Include File Paths
> >
> >
> > Hi;
> >
> > I'm using Tomcat 3.2
> >
> > I have a webapp defined on my system to be:
> > /net/webapps
> >
> > Under the directory "webapps" I have several subdirectories
> > for jsps and various
> > resources.
> >
> > In one file, /net/webapps/test/test.jsp, I am trying to use
> > this include directive
> > <%@ include file="../common/copyright.html" %>
> > to include
> > /net/webapps/common/copyright.html
> >
> > I keep getting error code 500 and the message "bad file
> > argument to include"
> >
> > Anyone have any idea of what is going on and how I can "back
> > up" with file paths?
> >
> > Thanks in advance
> >
> > Steve
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-user-> [EMAIL PROTECTED]>
> > For
> > additional commands,
> > e-mail: <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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

Reply via email to