<html:form action="/H010506Show" focus="searchCond">

解决方案 »

  1.   

    会不会和我的config文件有关?因为在web.xml里,说我的config文件以损坏,可是config文件本身并没有显示错误。这是怎么回事?这个config文件是我回来导入的。
      

  2.   

    我刚开始学wsad,很多都不明白。
    <init-param>
    <param-name>config</param-name>
    <param-value>../struts-config.xml</param-value>
    </init-param>
    报错是config文件link错误
    <init-param>
    <param-name>application</param-name>
    <param-value>webtest.resources.ApplicationResources</param-value>
    </init-param>
    报措是么有找到。我的包名是jp.co.toyota_shokki.hokyubuhin.X0007
      

  3.   

    <action    path="/H010506Show"
      type="X0007.H010506Action"
      name="h010506Form"
      scope="request"
      parameter="show"
      validate="false">
        <forward   name="success"              path="/h010506.jsp"/>
    </action>在action里加一个参数input=""引号内写你提交表单的页面名称。
      

  4.   

    还有,type里要写清楚action的包的层次,你是jp.co.toyota_shokki.hokyubuhin.X0007
    那就要全部写进去。
    type=“jp.co.toyota_shokki.hokyubuhin.X0007.H010506Action”
      

  5.   

    <init-param>
    <param-name>config</param-name>
    <param-value>../struts-config.xml</param-value>
    </init-param>
    ----
    struts-config.xml是放在当前文件夹下面的么?
    为什么不直接写成<init-param>
    <param-name>config</param-name>
    <param-value>struts-config.xml</param-value>
    </init-param>其他问题估计是你相应的类没有放在web-inf的classes路径下