Thanks heaps Pavel!

It was the web.xml header that had sunk me.
Had taken mine from the struts-blank.war except I had rolled it forward to
web-app 2.3

BTW if I'm using JSP 2.0, shouldn't the JSTL tag library definitions for
them be able in the web container?
Ie shouldn't they be contained in one of the jars that ships with Tomcat
5.0.28?
I can't find them there, but I'd much rather reference them from a supplied
source than ship the JTSL TLDs with each of my webapps.
Am I missing something?

William


----- Original Message ----- 
From: "Pavel Kolesnikov" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Sunday, January 09, 2005 3:17 AM
Subject: Re: Runtime expressions


> 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]
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.9 - Release Date: 06-Jan-05
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to