You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gabriel Belingueres <be...@gmail.com> on 2005/08/18 13:27:52 UTC

Problem including a file in Tomcat 5.5.9

Hi,

Writing a jsp page in my app, I need to include other file in it, but
I got this issue in my Tomcat 5.5.9, when I write the include without
parameters like this:

<jsp:include page="/menu.jsp">
</jsp:include>

I doesn't like written like this, so I write it like this and it works:

<jsp:include page="/menu.jsp"/>

But, I tested the same page in a Tomcat 4.1.12 and it worked OK the
first form too.

Is this a Tomcat 5.5.9 bug? or it is OK that doesn't let me write
includes without parameters like in the first form?

Regards,
Gabriel

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


Re: Problem including a file in Tomcat 5.5.9

Posted by Rakesh <rs...@stellarinfo.com>.
No, this is not a bug.


----- Original Message ----- 
From: "Gabriel Belingueres" <be...@gmail.com>
To: <to...@jakarta.apache.org>
Sent: Thursday, August 18, 2005 4:57 PM
Subject: Problem including a file in Tomcat 5.5.9


> Hi,
> 
> Writing a jsp page in my app, I need to include other file in it, but
> I got this issue in my Tomcat 5.5.9, when I write the include without
> parameters like this:
> 
> <jsp:include page="/menu.jsp">
> </jsp:include>
> 
> I doesn't like written like this, so I write it like this and it works:
> 
> <jsp:include page="/menu.jsp"/>
> 
> But, I tested the same page in a Tomcat 4.1.12 and it worked OK the
> first form too.
> 
> Is this a Tomcat 5.5.9 bug? or it is OK that doesn't let me write
> includes without parameters like in the first form?
> 
> Regards,
> Gabriel
> 
> ---------------------------------------------------------------------
> 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