tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wingfield <jon.wingfi...@mkodo.com>
Subject Re: [OT}RE: directive.include problem
Date Mon, 08 Dec 2003 17:15:50 GMT
Oops. Note to self: must read JSP2.0 spec ;) (specifically JSP.6.2.4)

Jon Wingfield wrote:

> erm. shouldn't it be:
> <jsp:include page="..."/>
> as per section JSP.4.4 of the JSP 1.2 specification.
> 
> HTH,
> 
> Jon
> 
> Atreya Basu wrote:
> 
>> The only problem with the include directive is that it actually 
>> outputs the result of a jsp rather than just the text. What I want to 
>> do is have some content in a another file, have the two file put 
>> together then compiled.
>>
>> Is there a way to do that I wonder?
>>
>> Michele Emmi wrote:
>>
>>> Try:
>>>
>>> <%@ include file="..." %>
>>>
>>> Michele
>>>
>>>
>>>> From: Atreya Basu <atreya@greenfieldresearch.ca>
>>>> Reply-To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>>>> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
>>>> Subject: directive.include problem
>>>> Date: Mon, 08 Dec 2003 12:24:06 -0400
>>>>
>>>> Hello,
>>>>
>>>> I'm getting a weird error when using <jsp:directive.include 
>>>> file=".." />.
>>>>
>>>> I get an jsp.error.badaction error.
>>>>
>>>> I don't know maybe I'm using the the directive incorrectly. What I 
>>>> am trying to do is make my JSPs cleaner by moving some of the header 
>>>> and footer code onto a different file. Since I use the same header 
>>>> and footer code, I thought that I could use the directive.include 
>>>> element. But no luck.
>>>>
>>>> Any help?
>>>>
>>>> -- 
>>>> _____________________________________
>>>> Atreya Basu
>>>> Developer,
>>>> Greenfield Research Inc.
>>>> e-mail: atreya (at) greenfieldresearch (dot) ca
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message