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
-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
-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
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
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
-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
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
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
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
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
.
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
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
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
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
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
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
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
17 matches
Mail list logo