标题:访问出错
取消只看楼主
bootser
Rank: 1
等 级:新手上路
帖 子:10
专家分:0
注 册:2013-8-6
结帖率:50%
 问题点数:0 回复次数:0 
访问出错
数据库连接错误!!! mssql2000数据库  三个驱动包都放到LIB里了,还是不出借

web.xml文件内容,

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
  Copyright 2004 The Apache Software Foundation

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

<web-app xmlns="http://java.
    xmlns:xsi="http://www.
    xsi:schemaLocation="http://java. http://java.
    version="2.4">

  <display-name>Welcome to Tomcat</display-name>
  <description>
     Welcome to Tomcat
  </description>

<!-- JSPC servlet mappings start

    <servlet>
        <servlet-name>org.apache.jsp.index_jsp</servlet-name>
        <servlet-class>org.apache.jsp.index_jsp</servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.index_jsp</servlet-name>
        <url-pattern>/index.jsp</url-pattern>
    </servlet-mapping>

 JSPC servlet mappings end -->

    <resource-ref>
        <description>Oracle Datasource example</description>
        <res-ref-name>jdbc/myoracle</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
    </resource-ref>

  <listener>
        <listener-class>
            encrypt.SessionCounter
        </listener-class>
    <!--
        <listener-class>
            pub.GetNewTimerListener
        </listener-class>
   
        <listener-class>
            pub.CreateNewHPListener
        </listener-class>
    -->
  </listener>  

</web-app>
搜索更多相关主题的帖子: Copyright 数据库连接 Software required version 
2013-08-19 22:27



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-419380-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.388484 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved