站内搜索: 请输入搜索关键词

当前页面: 开发资料首页J2EE 专题struts整合spring,没有用到数据库操作,是可以运行的.但在applicationContext.xml中加了dataSource的bean,执行的时候就报错了:Servlet act

struts整合spring,没有用到数据库操作,是可以运行的.但在applicationContext.xml中加了dataSource的bean,执行的时候就报错了:Servlet act

摘要: struts整合spring,没有用到数据库操作,是可以运行的.但在applicationContext.xml中加了dataSource的bean,执行的时候就报错了:Servlet act


dataSource 如下:

class="org.springframework.jdbc.datasource.DriverManagerDataSource">

com.microsoft.jdbc.sqlserver.SQLServerDriver


jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=db1


dbuser


password



报错如下:
type Status report

message Servlet action is not available

description The requested resource (Servlet action is not available) is not available.

大家有没有碰到过这样的问题?
顺便问一下,怎么调试啊?是不是要配置log4j啊?


我用的是mssql 2K,是不是要打sp3的补丁?


问题解决了


晕到!!!


jf.com


↑返回目录
前一篇: Apache、Jboss和Tomcat是什么关系啊?刚学Servlet,不懂。
后一篇: 有关使用反射机制与JavaBean取数据记录并输出的问题。