没看出有错误
<html:form action="/add.do">
试试吧 

解决方案 »

  1.   

    type="org.springframework.web.struts.DelegatingActionProxy"
      

  2.   

    The requested resource (Servlet action is not available) is not available
    没找到action<html:form action="/add.do"> 
      

  3.   

    struts-config里的action的type应该是org.springframework.web.struts.DelegatingActionProxy
      

  4.   

    The requested resource (Servlet action is not available) is not available 
    没找到action <html:form action="add"> 应该是这样
      

  5.   

    想学spring+struts2+hibern,该怎么入门啊?我刚把applet学的可以上手。
      

  6.   

    <html:form action="/add.do"> 
    我也支持
      

  7.   

    <html:form action="/add.do">
      

  8.   

    com.sshdemo.struts.action.AddAction
    这个路径文件名准确么?
    还有就是这个
    <html:form action="/add.do"> 
    如果ssh架构struts的Action由spring控制转向的话structs配置文件
    <action-mappings >
        <action
          attribute="addForm"
          input="/index.jsp"
          name="addForm"
          path="/add"
          scope="request"
          type="com.sshdemo.struts.action.AddAction">
          <forward name="ok" path="/ok.jsp" />
          <forward name="fail" path="/index.jsp" />
        </action>
      </action-mappings> 
    中的type应该是 org.springframework.web.struts.DelegatingActionProxy
    在spring相应的action代理的type上是com.sshdemo.struts.action.AddAction
      

  9.   

    如果ssh架构struts的Action由spring控制转向的话structs配置文件 中的type应该是 org.springframework.web.struts.DelegatingActionProxy 
    在spring相应的action代理的type上是com.sshdemo.struts.action.AddAction然后那个<html:form action="/add.do"> 里面的.do不要的,
      

  10.   

    action的type改为
    type="org.springframework.web.struts.DelegatingActionProxy"
      

  11.   

    <action-mappings > 
        <action 
          attribute="addForm" 
          input="/index.jsp" 
          name="addForm" 
          path="/add" 
          scope="request" 
          type="org.springframework.web.struts.DelegatingActionProxy"> 
          <forward name="ok" path="/ok.jsp" /> 
          <forward name="fail" path="/index.jsp" /> 
        </action> 
      </action-mappings>
    还有你的web.xml中是这么配置的
    <context-param> 
        <param-name>contextConfigLocation </param-name> 
        <param-value>/WEB-INF/applications-service.xml </param-value> 
      </context-param> 
    你的spring配置文件不是叫这么名字吧!!
     <servlet> 
        <servlet-name>SpringContextServlet </servlet-name> 
        <servlet-class>org.springframework.web.context.ContextLoaderServlet </servlet-class> 
        <load-on-startup>1 </load-on-startup> 
      </servlet> 

    <listener-class> 
    org.springframework.web.context.ContextLoaderListener 
    </listener-class> 
      </listener> 
    配置是不是有些问题呀,好像重复了吧!!
      

  12.   

    action="***",/add跟/add.do以及add.do 有那些区别 好像/add跟add.do都行
      

  13.   

     <html:form action="<%=request.getContextPath()%>/add.action">
      

  14.   

    ACTION里填/ADD  和  ADD.DO都对,/ADD.DO貌似是错误的
      

  15.   

    type="com.sshdemo.struts.action.AddAction"> 这句肯定是错的,我只知道这个,但可能有N个错误