标签:style blog color io ar for 文件 sp div
这个异常是因为struts.xml配置文件中action的name属性写错了:
<action name="register"class="org.apache.struts.helloworld.action.Register" method="execute"> <result name="success">/thankyou.jsp</result>
</action>
name属性应该和类的名字一样。
或者也有可能是配置文件中有重名的action。
ognl.OgnlException: target is null for setProperty 异常
标签:style blog color io ar for 文件 sp div
原文地址:http://www.cnblogs.com/jyjsjd/p/3993719.html