tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandros Kotsiras" <kotsi...@mediaondemand.com>
Subject RE: invalid jsp:include tag
Date Thu, 27 Apr 2000 14:24:41 GMT
By the way i see that you also have a query string in the include tag.
Does it work  ?
Because with GNUJSP i was not able to retrieve that query string from my
included jsp file.

-----Original Message-----
From: Philippe Van Der Gucht [mailto:philippe.vandergucht@uniway.be]
Sent: Thursday, April 27, 2000 4:03 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: invalid jsp:include tag



sebi wrote:

> <%
>    String whereTo = "Forum_Thread.jsp?prevMesgId=" + toOpen[i2] ;
> %>
> <jsp:include page="<%=whereTo%>" />
>
> does give me an org.apache.jasper.JasperException:
> with the message: Invalid jsp:include tag?
> this happens only with tomcat, not with resin.
> is there something wong with resin, with tomcat or with the code?
> any ideas?

My guess is the jsp:include line should look like this:
<jsp:include page="<%= whereTo %>" />

Philippe.

--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message