That did it....thankyou!

Steve
--- David Cassidy <[EMAIL PROTECTED]> wrote:
> Try ....
> 
> <%@ include file="/common/copyright.html" %>
> 
> 
> This will then include the file from your docbase
> 
> eg tomcat will add in the /net/webapps/ bit for you ...
> 
> Try it ;-}
> 
> D
> 
> 
> 
> Steve wrote:
> 
> >I checked for typos
> >
> >thanks
> >
> >--- Larry Isaacs <[EMAIL PROTECTED]> wrote:
> >  
> >
> >>I don't know why it wouldn't work other than due
> >>to a simple typo.
> >>
> >>Larry
> >>
> >>    
> >>
> >>>-----Original Message-----
> >>>From: Steve [mailto:[EMAIL PROTECTED]] 
> >>>Sent: Wednesday, June 05, 2002 10:48 AM
> >>>To: Tomcat Users List
> >>>Subject: RE: Tomcat 3.2 : Include File Paths
> >>>
> >>>
> >>>My docbase is set to /net/webapps
> >>>
> >>>Still gives me "bad argument to include file"
> >>>
> >>>Steve
> >>>--- Larry Isaacs <[EMAIL PROTECTED]> wrote:
> >>>      
> >>>
> >>>>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:tomcat-user-> [EMAIL PROTECTED]>
> >>>      
> >>>
> >>>>For 
> >>>>        
> >>>>
> >>>additional commands, 
> >>>e-mail: <mailto:[EMAIL PROTECTED]>
> >>>      
> >>>
> >>>__________________________________________________
> >>>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]>
> >>
> >>    
> >>
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! - Official partner of 2002 FIFA World Cup
> >http://fifaworldcup.yahoo.com
> >
> >--
> >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]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

Reply via email to