David Delbecq wrote:
En l'instant précis du 07/03/07 14:43, Gerald Holl s'exprimait en ces
termes:
David Delbecq wrote:
En l'instant précis du 07/03/07 12:04, Gerald Holl s'exprimait en ces
termes:
David Delbecq wrote:
Please provide the full jsp please.
Side note: JSF and non-JSF tags do not mix very well.
  <c:forEach items="#{handler.fields}" var="it">
    <h:inputText id="fieldPercent" value="#{it.percentValue}"/>
    <h:message for="fieldPercent"/>
  </c:forEach>
Sorry, should have seen it in your first message:
items="#{handler.fields}" <-- this expression is not evaluated by
tomcat. In jsp 2.0, expression must have the form
${handler.fields}
According to [1] the #{} should work with the new unified EL.
If I try your hint I can't view the page anymore:
Error: According to TLD or attribute directive in file, attribute
items does not accept any expressions.

[1] unified EL refers to jsp 2.1 specifications, i was referring to 2.0
specifications.
To ensure you are using 2.1 specifications, check mainly that
- your taglib contains "<jsp-version>2.1</jsp-version>"

I extracted the jstl-1.2jar file and found many .tld files. Nearly all of them contain <jsp-version>1.2</jsp-version> and not 2.1 as you said.

- your webapplication is properly configured to use the webapp2.5
specifications. The root element of web.xml should be like
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>

The web.xml file is valid against the 2.5 spec, I verified it with XMLSpy.

cheers,
Gerald

---------------------------------------------------------------------
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