struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory F. March" <ma...@gfm.net>
Subject Re: logic:iterate problem
Date Fri, 26 Sep 2003 12:17:28 GMT

Make sure your getters and setters conform to the Java naming conventions - I 
got burned by something similar and that was the root cause...

HTH...

/greg

On Sep 26, 2003, "MaFai" <zh-ma@hkbn.com.hk>  wrote:

 |Hello, struts-user,
 |
 |[code]
 |<logic:iterate id="customer" name="customers" type="STB.Customer">
 |        <bean:write name="customer" property="testb"/>
 |        <bean:write name="customer" property="pps"/>
 |</logic:iterate>
 |[/code]
 |
 |customers is set by request.setAttribute
 |
 |pps is string value.
 |testb is a int value
 |
 |If remove the testb ,it run smoonthly.
 |If change testb to boolean,it also run smoothly.
 |Otherwise
 |
 |It always throw the exception
 |
 |org.apache.jasper.JasperException: Cannot find message resources under key or
 | g.apache.struts.action.MESSAGE
 |
 |Why?I'm stun at these 2 days.
 |
 |
 |
 |
 |
 |Best regards. 
 |
 |MaFai
 |zh-ma@hkbn.com.hk
 |2003-09-26
 |
 |
 |
 |---------------------------------------------------------------------
 |To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
 |For additional commands, e-mail: struts-user-help@jakarta.apache.org




--
Gregory F. March    -=-    http://www.gfm.net:81/~march    -=-    AIM:GfmNet



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


Mime
View raw message