简体   繁体   中英

Struts2 Action Not Calling from url

String url = ipaddressPortnumber + request.getContextPath() + "/registerconfig.action?lvd=" + lvd;

lvd is a class; when i want to hit on the action (registerconfig.action?lvd="+lvd) given on url got a error like below, how can i solve it 按下操作按钮后出现错误页面

The result input is required to add to the action config because before executing the action it has validation errors. The flow will return back to the index.jsp where you can fix errors before submitting the form. The action won't execute if it has errors. Add this code to the action config

<result name="input">index.jsp</result>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM