struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Struts 1.2] javax.servlet.jsp.JspException: No getter method for property: "error
Date Mon, 13 Aug 2007 14:25:41 GMT

I'm getting a currious errormessage, which I'm not understanding with the background written
later on:

javax.servlet.jsp.JspException: No getter method for property: "errorm" of bean: "camp"


The bean camp is set while validating, because an error happened. Therefore, the original
page is shown again, the errormessage is shown and the bean camp is correctly detected. But
the property errorm can't be resolved!

<logic:present name="camp">
<bean:logic name="camp" property="errorm" id="ma">...</bean:logic>

ActionErrors validate (ActionMapping mp, HttpServletRequest rq) {
CheckActiv ca=new CheckActive();

class CheckActive {
public ArrayList <String> getErrorm() {
    return new ArrayList <String>(missingpaket.keySet());

The bean camp is detected in the jsp, but the property errorm (which gives ca.getErrorm())
can't be found. I am helpless ... . What am I doing wrong?

Thanks for any hint,
kind regards,
Andreas Hartmann

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message