Re: Include Directive Misbehaving: Feedback for Mark Thomas

2006-11-11 Thread Mark Thomas
Justin Jaynes wrote: > Mark Thomas, > > To start on a positive note, I 've never found an open source project with > real help as accessable, as reliable, as knowledgeable, or as patient as I > have with Tomcat. I have access to amazing > support/discussion groups, with immediate communications t

Re: Include Directive Misbehaving: Feedback for Mark Thomas

2006-11-08 Thread Justin Jaynes
mas <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Tuesday, November 7, 2006 10:27:38 PM Subject: Re: Include Directive Misbehaving Justin Jaynes wrote: > Oh snap! That's exactly what's happening. Can you point me to a good > document that expalins how to set up contexts?

Re: Include Directive Misbehaving

2006-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, Justin Jaynes wrote: > Oh snap! I just love it when people use that phrase! You just brightened-up my evening, Justin. > That's exactly what's happening. No wonder nothing makes sense. Glad you found your problem. Good luck. - -chris -

Re: Include Directive

2006-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, Justin Jaynes wrote: > You also suggested this: <%@ include file="<%= request.getContextPath() > %>/header.jsp" %> > I tried it but the code inside the quotes does not get evaluated. Yeah, that was just an idea. I can't remember, does <[EMAI

Re: Include Directive Misbehaving

2006-11-07 Thread Mark Thomas
Justin Jaynes wrote: > Oh snap! That's exactly what's happening. Can you point me to a good > document that expalins how to set up contexts? I've got everything set up > exactly as you described. > > Any good reading for a comprehensive (or even rudimetry) understanding would > be greatly app

Re: Include Directive

2006-11-07 Thread Layton Berry
file="<%= request.getContextPath() %>/header.jsp" %> I tried it but the code inside the quotes does not get evaluated. Justin - Original Message From: Christopher Schultz <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Tuesday, November 7, 2006 6:14:58 AM Sub

Re: Include Directive Misbehaving

2006-11-07 Thread Justin Jaynes
ot what I want. Justin - Original Message From: Mark Thomas <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Tuesday, November 7, 2006 9:30:07 PM Subject: Re: Include Directive Misbehaving Justin Jaynes wrote: > To further complicate this problem, I have tried more experimenting

Re: Include Directive Misbehaving

2006-11-07 Thread Mark Thomas
Justin Jaynes wrote: > To further complicate this problem, I have tried more experimenting and am > becoming more frustrated. I have just tested all combinations of files and included files for three levels of directories and everything is working as it should. Just a guess but... Is it possible

Include Directive Misbehaving

2006-11-07 Thread Justin Jaynes
sage From: Justin Jaynes <[EMAIL PROTECTED]> To: users@tomcat.apache.org Sent: Monday, November 6, 2006 10:01:00 PM Subject: Include Directive Hello, I am trying to eliminate unnecessary duplication of code by using include directives. Currently my directory structure is like this: [main a

Re: Include Directive

2006-11-07 Thread Justin Jaynes
ied it but the code inside the quotes does not get evaluated. Justin - Original Message From: Christopher Schultz <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Tuesday, November 7, 2006 6:14:58 AM Subject: Re: Include Directive -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: Include Directive

2006-11-07 Thread Justin Jaynes
That does not work at all. Justin - Original Message From: Juanjo Cuadrado <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Tuesday, November 7, 2006 4:14:17 AM Subject: Re: Include Directive Hi, Can you try the follow: <%@ include file="*/header.jsp*" %>

Re: Include Directive

2006-11-07 Thread Dies Koper
Hello Chris, Justin, The index.jsp file in the main directory contains the code <%@ include file="header.jsp" %> and it works great. In the admin directory the index.jsp file contains this code <%@ include file="../header.jsp" %> obviously referencing to the parent directory, where the header.j

Re: Include Directive

2006-11-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, > The index.jsp file in the main directory contains the code <%@ > include file="header.jsp" %> and it works great. > > In the admin directory the index.jsp file contains this code <%@ > include file="../header.jsp" %> obviously referencing t

Re: Include Directive

2006-11-07 Thread Juanjo Cuadrado
Hi, Can you try the follow: <%@ include file="*/header.jsp*" %> I think that this will work fine. 2006/11/7, Justin Jaynes <[EMAIL PROTECTED]>: Hello, I am trying to eliminate unnecessary duplication of code by using include directives. Currently my directory structure is like this:

Include Directive

2006-11-06 Thread Justin Jaynes
Hello, I am trying to eliminate unnecessary duplication of code by using include directives. Currently my directory structure is like this: [main app directory] index.jsp header.jsp footer.jsp [admin subdirectory] index.jsp The index.jsp file in the main directory contains the code <%@ include

Re: problem related include directive & action

2006-05-22 Thread Mark Thomas
Harshal Joshi wrote: > I want to know exact difference between include directive & include > action. The JSP spec is your friend. http://java.sun.com/products/jsp/reference/api/index.html Mark - To unsubscribe, e-ma

problem related include directive & action

2006-05-22 Thread Harshal Joshi
  Hi,   I want to know exact difference between include directive & include action. As I have read from some sites & some books that one diff. is Include directive is take place at translation (compile) time while action takes place as runtime. So, if you make change in included fi

JSP Include directive problem when upgrading to Tomcat 5.5

2006-04-10 Thread TiGRETON
Hi, We are moving from Tomcat 5.0.28 to Tomcat 5.5.16, and we found that JSP <%@ include %> directives fail when the path contains a call to a file placed in the parent (..) directory. AFAIK Tomcat is creating a separate context for JSP files in the /admin/ directory. How can I disable this behav