开发者

Why am I getting this JspException?

Can anyone explain this exception and its cause:

javax.servlet.jsp.JspException: No getter method for property: "loanInfoSearch_dto.branchCode" of bean: "org.apache.struts.validator.开发者_开发百科DynaValidatorActionForm"


Just a guess, but if you've got a class named LoanInfoSearch_dto and you've got an instance of it named loanInfoSearch_dto, and it has a private variable named branchCode, then you're missing a method named

public T getBranchCode() {
   return branchCode;
}

where T is branchCode's type. From its name, I'd assume its an int or some other numeric type.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜