您好,欢迎来到[编程问答]网站首页   源码下载   电子书籍   软件下载   专题
当前位置:首页 >> 编程问答 >> Java >> ssh运行时遇到Servlet action is not available问题

ssh运行时遇到Servlet action is not available问题

来源:网络整理     时间:2016/8/16 4:50:57     关键词:

关于网友提出的“ ssh运行时遇到Servlet action is not available问题”问题疑问,本网通过在网上对“ ssh运行时遇到Servlet action is not available问题”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:

问题: ssh运行时遇到Servlet action is not available问题
描述:

web.xml:

    action
    org.apache.struts.action.ActionServlet
    
      config
      /WEB-INF/struts-config.xml
    

    
      debug
      3
    

    
      detail
      3
    

    0
  

  
    action
    *.do
  

  
    index.jsp
  

struts-config.xml:
  
    
      
      
    
  
  
  
    
  
  
    <>
      attribute="loginForm"
      input="/index.jsp"
      name="loginForm"
      path="/login"
      scope="request"
      type="org.springframework.web.struts.DelegatingActionProxy" />
  




applicationContext.xml:
<>
class="org.apache.commons.dbcp.BasicDataSource">
<>
value="com.microsoft.jdbc.sqlserver.SQLServerDriver">





<>
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">





org.hibernate.dialect.SQLServerDialect




com/lxd/module/User.hbm.xml








abstract="false"
lazy-init="default" autowire="default"
dependency-check="default" >








运行tomcat就遇到了:
message: Servlet action is not available
description: The requested resource (Servlet action is not available) is not available.
帮帮忙啊。。


解决方案1:

加入spring-web.jar文件


以上介绍了“ ssh运行时遇到Servlet action is not available问题”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/3317452.html

相关图片

相关文章