tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Chatfield <si...@inteflux.com>
Subject Re: Any reason why this give me error?
Date Thu, 12 Apr 2001 23:42:57 GMT

It never creates the java source code, or rather, it creates the .java file but
it's empty as the file isn't correctly parsed, when I remove the include tags
as you suggested, the page compiles fine... What can we accertain from that?

Arik Kfir wrote:

> did you try running this without the enclosing <jsp:include> tag, to see if
> your source is generating proper PARAM tags?
>
> -----Original Message-----
> From: chatfiel@iname.net [mailto:chatfiel@iname.net]On Behalf Of Simon
> Chatfield
> Sent: Friday, April 13, 2001 1:14 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Any reason why this give me error?
>
> 2nd. post. ? any clues?
>
> Simon Chatfield wrote:
>
> >
> >
> > I hope this is a simple answer for someone, but I'm having the following
> error
> >
> > with a peice of code that follows that. I did try the <jsp:params>
> directive but it complained
> >
> > about not having a name and value attribute as well.
> >
> > org.apache.jasper.compiler.ParseException:
> /thdir/htdocs/viewEvent.jsp(185,0)
> >
> > Expected "param" tag with "name" and "value" attributes after the "params"
> tag.
> >
> >     <jsp:include page="<%=thisLink.getValue()%>" flush="true">
> > <%
> >         Enumeration en = request.getParameterNames();
> >         while(en.hasMoreElements()) {
> >             String thisParm = (String)en.nextElement();
> > %>
> > <jsp:param name="<%=thisParm%>"
> value="<%=request.getParameter(thisParm)%>"/>
> > <%
> >         }
> > %>
> >     </jsp:include>
> >
> > Thanks
> >
> > -Simon
> >
> >


Mime
View raw message