On Sat, 8 Jan 2005 22:16:49 +1000, William Ferguson <[EMAIL PROTECTED]> wrote:
> <html:errors property="quantity.${index}"/> > <html:errors property="quantity.<c:out value='${index}'/>"/> You can't nest any custom tags like this. Following works well with JSP 1.2: <html-el:errors property="quantity.${index}"/> but you need the html-el taglib (it means NOT the original html taglib included in the minimal struts-lib distribution). You have to download the full package (e.g. jakarta-struts-1.2.4.zip) and look at the contrib/struts-el folder. If you can use JSP 2.0, following syntax without struts-el <html:errors property="quantity.${index}"/> should work as well, since the "property" attribute is defined to support real time expressions. Just don't forget to use a correct web.xml header for the Servlet 2.4 specification, it means your deployment descriptor must start with <?xml version="1.0"?> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd" version="2.4"> If you simply copy and change your old web.xml from an older Servlet 2.3 based application, new features of Servlet 2.4 won't work. Pavel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]