ERROR - Error:
java.lang.IllegalArgumentException: Invalid property name 'userInfoContext'
at org.apache.struts.action.DynaActionForm.getDynaProperty(DynaActionForm.java:
603)
---》错误行:UserInfoContext userInfoContext = (UserInfoContext) domainForm.get("userInfoContext");
原因:struts.xml中有两个UserInfoContext类,引用错误。
参考文章: http://hi.baidu.com/9prior/blog/item/9cabe7fba2cc9e1f6c22eb6c.html
这种异常也有可能是:actionform中的某个属性在form-bean的form-property没有配置。
---》错误行:UserInfoContext userInfoContext = (UserInfoContext) domainForm.get("userInfoContext");
原因:struts.xml中有两个UserInfoContext类,引用错误。
参考文章: http://hi.baidu.com/9prior/blog/item/9cabe7fba2cc9e1f6c22eb6c.html
这种异常也有可能是:actionform中的某个属性在form-bean的form-property没有配置。