RE: includes

2003-04-04 Thread Hans Wichman
Hi, yep sorry, the syntax was messy, but fortunately only in my example, not in my sourcefile ;-). I did some more testing and it appeared it was indeed impossible to include files from another context (apparently in accordance with the servlet/jsp specification), so I think I have to solve it

RE: includes

2003-04-03 Thread Turoff, Steve
First, note that your syntax was incorrect - you put the @ in front of the %. Second, try this: %@ include file=/a/myinclude.jsp % Note that this is a static include, ie, if you change /a/myinclude.jsp the change will not show up in the file including it, unless that file is recompiled.

Re: Includes desappearing

2002-04-11 Thread rsequeira
You should check the logs. Probably some exceptions are being thrown. RS Marcelo Mathias Lima [EMAIL PROTECTED] on 04/11/2002 07:45:57 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: Includes desappearing hi! On my JSP

Re: Includes desappearing

2002-04-11 Thread Marcelo Mathias Lima
It is not a (my) program error... there is nothing different on the log... It only occurs on Mozilla and in some pages. Only some parts of the jsp are returned... I think it is a poltergeist problem... {:o) [EMAIL PROTECTED] wrote: You should check the logs. Probably some exceptions are

RE: Includes disappearing

2002-04-11 Thread Wagoner, Mark
- From: Marcelo Mathias Lima [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 1:37 PM To: Tomcat Users List Subject: Re: Includes desappearing It is not a (my) program error... there is nothing different on the log... It only occurs on Mozilla and in some pages. Only some parts

Re: Includes disappearing

2002-04-11 Thread rsequeira
or with the Apache/Tomcat connector. RS Marcelo Mathias Lima [EMAIL PROTECTED] on 04/11/2002 02:00:54 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: Re: Includes disappearing with or without flus-true it happens... when includes disappears

Re: Includes Tomcat Apache

2002-01-25 Thread RSEQUEIRA
There are two ways to include files (if you are using both Apache and Tomcat in tandem). If you wish for Apache to handle includes: 1) Make certain the following lines are present (and uncommented) in the httpd.conf LoadModule includes_modulelibexec/mod_include.so AddModule

RE: Includes

2000-12-18 Thread Kitching Simon
Hi Bruce, I'm not entirely sure what your problem is. I'm almost certain you cannot include files "across contexts" using jsp:include (ie run-time include). That would involve invoking a servlet in one context from a servlet in another context. I'm almost certain that %@ include url (ie

Re: Includes

2000-12-18 Thread Bruce Cota
Thanks for the reply The problem I have is that I cannot get a context with the path "/" to work -- I just get 404's. The site I'm trying to work on (which already exists) uses url's like "www.company.com/app1/index.jsp" and "www.company.com/app2/index.jsp", where both index1.jsp and

RE: Includes

2000-12-18 Thread Kitching Simon
one directory can include files in another directory without problem. One question: what happens if you put plain html files directly into the docBase directory. Can you access them from tomcat?? -Original Message- From: Bruce Cota [SMTP:[EMAIL PROTECTED]] Sent: Monday, December 18, 2000

RE: Includes

2000-12-18 Thread Deepak C S
To: [EMAIL PROTECTED] Sent: Monday, December 18, 2000 7:33 PM To: '[EMAIL PROTECTED]' Subject: RE: Includes Hmm..seems like it should work fine. I do this sort of stuff right now, and there are no problems. One note: I set path to an *empty string*, not to "/"..d