Hello,

I just upgraded my servlet container and went from Servlet 2.3 to
Servlet 2.4 API, and now I'm getting errors from Struts' html-el
taglib:

/WEB-INF/component/LoginBox.jsp(22,16) According to TLD or attribute
directive in tag file, attribute value does not accept any expressions'
org.apache.jasper.JasperException:
...

This is the line that the error comes from:

  <html-el:hidden property="x" value="${param.x}"/>

So, the error says that the "value" attribute does not accept any
expressions.  That's not true, though, as this worked with servlet 2.3,
and the whole point of "html-el" is to allow EL expressions.

Am I supposed to change the way I use html-el when I use it in the
Servlet 2.4 container?  Am I supposed to get some new TLD files or Jars
when going from servlet 2.3 -> 2.4 under Struts 1.1?

I have "html-el" defined at the top of my JSP as:

<%@ taglib uri="/WEB-INF/struts-html-el.tld"   prefix="html-el"  %>

I am using Struts 1.1.

Do I need to use some newever version of Struts and/or Struts html-el
taglib if I want to use a servlet con?

Any help would be very much appreciated.

Thanks,
Otis

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Simpy -- http://www.simpy.com/ -- Find it. Tag it. Share it.

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

Reply via email to