You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hassan Schroeder <ha...@gmail.com> on 2007/03/20 20:50:36 UTC
Re: common JSTL tagging pattern is a problem for Tomcat
On 3/20/07, Pat Willard <pa...@thelarchgroup.com> wrote:
> My JSP begins as follows:
> <?xml version="1.0"?>
> <jsp:root version="2.0"
> All attempts using a typical JSTL tagging sounded by <input type="text"
> name="<c:out etc. etc. results in
>
> org.apache.jasper.JasperException: ... The value of attribute "name" associated with an element type "input" must not contain the '<' character.
>
> What's going on?
Uh, that's the way XML works -- you can't nest tags like that. But
First Name: <input type="text" name="${status.expression}"
will work, assuming a 2.4 or greater web.xml...
HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org