tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Atreya Basu <atr...@greenfieldresearch.ca>
Subject Re: [OT}RE: directive.include problem
Date Mon, 08 Dec 2003 16:53:19 GMT
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
>>
>
> _________________________________________________________________
> Cell phone ‘switch’ rules are taking effect — find out more here. 
> http://special.msn.com/msnbc/consumeradvocate.armx
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


-- 
_____________________________________
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


Mime
View raw message