Struts Problem Report
Struts has detected an unhandled exception:
Messages: |
|
原因是:
com.bjsxt.struts2.ognl.OgnlAction里面的execute函数:
public String execute() { return "SUCCESS"; }
SUCCESS被双引号括起来了。改为:
public String execute() { return SUCCESS; }就OK 了。
或者:在xml 里将result该为:<result name="SUCCESS">/ognl.jsp</result>