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 to

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 [EMAIL

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 Misbehaving: Feedback for Mark Thomas

2006-11-08 Thread Justin Jaynes
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? I've got everything set up exactly as you described. Any good

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: [main

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 to the parent

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.jsp file

Re: Include Directive

2006-11-07 Thread Justin Jaynes
not get evaluated. Justin - Original Message From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, November 7, 2006 6:14:58 AM Subject: Re: Include Directive -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, The index.jsp file

Include Directive Misbehaving

2006-11-07 Thread Justin Jaynes
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 app directory] index.jsp header.jsp footer.jsp [admin subdirectory] index.jsp The index.jsp file in the main directory

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

Re: Include Directive Misbehaving

2006-11-07 Thread Justin Jaynes
. Justin - Original Message From: Mark Thomas [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org 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 and am

Re: Include Directive

2006-11-07 Thread Layton Berry
inside the quotes does not get evaluated. Justin - Original Message From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, November 7, 2006 6:14:58 AM Subject: Re: Include Directive -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin

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

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

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 readfrom 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 file

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-mail: [EMAIL

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