struts2 action内容执行完后不跳转
publicStringlist(){System.out.println("booktest");returnSUCCESS;}<actionname="book-*"...
public String list(){
System.out.println("book test");
return SUCCESS;
}
<action name="book-*" class="bookAction" method="{1}">
<result>/WEB-INF/views/success.jsp</result>
</action>
也不报错 展开
System.out.println("book test");
return SUCCESS;
}
<action name="book-*" class="bookAction" method="{1}">
<result>/WEB-INF/views/success.jsp</result>
</action>
也不报错 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询