Create Struts 2 Application in Eclipse : HTTP Status 500
http://viralpatel.net/blogs/2009/12/tutorial-create-struts-2-application-eclipse-example.htmlproblem:
HTTP Status 500
java.lang.NullPointerExceptionresolve problem:
org.apache.struts2.impl.StrutsActionProxy.getErrorMessage(StrutsActionProxy.java:69)
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
1. struts.xml should under src
2. in struts.xml:
<action name="login" method="excute"
class="net.viralpatel.struts2.LoginAction">
posted on 2012-04-21 02:41 九寶 閱讀(401) 評論(0) 編輯 收藏 所屬分類: Java