日期:2014-05-17  浏览次数:20648 次

struts1.3 的异常怎么查? 不显示出来..
<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也没有任何提示.. 怎么显示或看到这个异常呢.?

------解决方案--------------------
现在应该都用struts2了吧