I've had quite a few issues with EL moving from Servlet 2.3 to 2.4 (JBOSS
4.0 to 4.2).  I have worked out my straight JSTL issues by changing my
taglib definitions, but my struts tags that use EL are not working
correctly.  This project started out using Struts 1.1 then I added the
struts-el.jar to allow for EL in my struts tags.  This all worked great
until my recent upgrade.  I get the infamous message:
 
According to TLD or attribute directive in tag file, attribute value does
not accept any expressions.
 
More specifically I get:
 
According to TLD or attribute directive in tag file, attribute arg0 does not
accept any expressions.  I get this for the following code:
<bean-el:message key="message.url"
arg0="city/savesearchform.exe?city=${city}&county=${county}&state=${state}"/
>

The details of the above don't really matter, but it is obvious that the new
version of the servlet spec I am running does not like the use of
expressions.

The old version ran under Servlet 2.3, JSTL 1.0 and JSP 1.2

The new version runs under Servlet 2.4, JSTL 1.1 and JSP 2.0

Any advice would be great.  I'm hoping not to have to change my struts libs
as I am concerned about moving from 1.1 to 1.3.

Thanks

 

Jim Kennedy

 

Reply via email to