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
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?
-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
-
-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
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
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
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
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
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
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
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*" %>
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
-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
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:
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
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
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
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
18 matches
Mail list logo