I am using Tomcat 5.5.2

My JSP begins as follows:
<?xml version="1.0"?>
<jsp:root version="2.0"
   xmlns:jsp="http://java.sun.com/JSP/Page";
   xmlns:fmt="http://java.sun.com/jsp/jstl/fmt";
   xmlns:c="http://java.sun.com/jsp/jstl/core";
   xmlns:spring="http://www.springframework.org/tags";>
<jsp:directive.page contentType="text/html"/>

The body is as follows:
<body>
<h2>Student Registration</h2>
<form method="post" action="/registerStudent.htm">
<spring:bind path="student.firstName">
First Name: <input type="text" name="<c:out value="${status.expression}"/>"
                   value="<c:out value="${status.value}"/>"/>
</spring:bind>
</form>
</body>

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?
Thanks for your help.
-- Pat







---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to