ActionMapping的getInputForward()方法,是返回一个什么来的?写具体点,最好讲给列子。因DC还没好,环境也没起来所以测试不了,求解释。

解决方案 »

  1.   

    getInputForwardpublic ActionForward getInputForward()    Create (if necessary) and return an ActionForward that corresponds to the input property of this Action.    Returns:
            The input forward for this action mapping.
        Since:
            Struts 1.1http://www.tiansky.net/DBbbs/viewthread.jsp?tid=236
      

  2.   

    mapping.getInputForward(),Struts1.x中,在Action里可以通过这个方法返回错误页(也就是struts-config.xml中定义的<action>中的input错误页) ,大哥,你就用了五分钟就解决了,高手还没起床呢,哪里叫高手真少啊
      

  3.   

    mapping.getInputForword()
    获取action当中input中的值对应的地址 
    <action  path="/test"    
                  type="org.apache.struts.webapp.example.TestAction"    
                  name="testForm"    
                  scope="request"    
                 input="testInput">    
    <forward   name="testInput" path="/testInput.jsp"/>    
    </action>   
    getInputForward();获取的就是action中input里的testinput,通过testinput又找到forward里这个别名对应的path/testInput.jsp 
      

  4.   

    不是百度的,公司内部邮箱,只能上一些技术论坛的,自己摸索的,在STRUTS配置文件看到的