You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Woodchuck <wo...@yahoo.com> on 2005/06/03 17:25:28 UTC

Tomcat 5.5.x EL (Expression Language) issue

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