当前页面: 开发资料首页 → 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