tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Woodchuck <woodchuc...@yahoo.com>
Subject Tomcat 5.5.x EL (Expression Language) issue
Date Fri, 03 Jun 2005 15:25:28 GMT
hihi all,

i am upgrading a webapp from TC 4.1.24 to TC 5.5.9 and discovered what
seems to be an EL related issue.

my webapp uses:
  - JSTL 1.0
  - web.xml with version 2.3 dtd (ie. EL turned OFF by default)
  - Struts 1.1

the piece of code with the issue is with the <logic:iterate> tag
basically as follows:

<logic:iterate name="myObj" property="foo.bar" id="fb" indexId="idx">
 ...
</logic>

in TC 4.1.24 the above works fine, but in TC 5.5.9 i get the following
error:

javax.servlet.jsp.JspException: No getter method for property foo.bar
of bean myObj

i'm not sure but i believe what is happening is that the
<logic:iterate> tag is looking literally for the method getFoo.bar() in
myObj instead of doing myObj.getFoo().getBar()

any ideas?

please and thanks!
woodchuck


		
__________________________________ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message