struts1.3 的异常怎么查? 不显示出来..

qazwsxhai 2013-10-22 10:42:15
<action name="messageServiceForm" path="/Message"
type="org.springframework.web.struts.DelegatingActionProxy"
input="/Message"
parameter="method"
validate="false"
scope="request">
<forward name="testChannel" path="/WEB-INF/admin/TestChannel.jsp" / </action>

<global-exceptions>
<exception key="errors.message" type="java.lang.Exception" path="/common/ErrorExceptionPage.jsp" scope="request"/>
</global-exceptions>


public ActionForward testChannel(ActionMapping map1, ActionForm aform, HttpServletRequest re, HttpServletResponse res) {

System.out.println("aaaa");
return map1.findForward("testChannel");
}


配置好像没有错,tomcat启动没有错.
运行 http://127.0.0.1:8080/Message.do?method=testChannel

直接跳转到异常页面去了..global-exceptions tomcat也没有任何提示.. 怎么显示或看到这个异常呢.?
...全文
74 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
qazwsxhai 2013-10-22
  • 打赏
  • 举报
回复
引用 1 楼 udbwcso 的回复:
现在应该都用struts2了吧
旧项目,维护.
尘缘udbwcso 2013-10-22
  • 打赏
  • 举报
回复
现在应该都用struts2了吧

81,094

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧