INPUT是指产生输入的页面,如果有错误的话,STRUTS会将重定向到这个输入页面的,跟parameter完全不同的

解决方案 »

  1.   

    Names the context−relative path of the input form to
    which control should be returned if a validation error
    is encountered. The input attribute is where control
    will be returned if ActionErrors are returned from the
    ActionForm or Action objects. (optional)楼上的说的不错。如果actionForm或是Action里面出错,就会由控制器返回制定的页面。
    但是我不知道parameter是什么意思?
      

  2.   

    parameter是指在返回的url里加上参数
    如:/abc.jsp?parameter=1111111
      

  3.   

    INPUT指的是产生输入的页面,只有当程序出错时STRUTS架构会将重定向至此页面,而parameter则指的是在返回的url里加上参数,正如楼上那位所说。