关于网友提出的“ 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