¾ÈÃü°¡£¡£¡JSPÁ¬½ÓSQL2000ÎÊÌ⣡
¸÷λ´óÏÀ¾ÈÃü°¡ £¡£¡
¸Õ×°ÁËSQL2000 sp3
ÏëÓÃJSPÁ¬½ÓÊý¾Ý¿âµ«ÊdzöÏÖÎÊÌâÁË
ÎÒÓõÄÊÇJDK6.0+tomcat5.0+SQL2000 SP3+JDBC sp3
ËüÏÔʾµÄÊÇ
javax.servlet.ServletException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
ÎÒÔËÐмòµ¥µÄJSP¾Í¿ÉÒÔÔËÐУ¬µ«ÊÇÁ¬½ÓÊý¾Ý¿âµÄ¾Í²»ÐÐ
ÍøÉÏ˵µÄ°ì·¨ÎÒ¶¼ÊÔ¹ýÁË »¹ÊDz»ÐÐ
¸÷λ¾È¾ÈÎÒ°É
ÎÒµÄϵͳÊÇvistaµÄ...
¾ÈÃü°¡ ÔõôûÈË°¡
°Ñ´úÂëÌùÉÏÀ´¿´¿´°É¡£javaÊÇ¿çƽ̨µÄ¡£
òËÆÇý¶¯ÎÊÌ⣬µ¹°üÁËô
<html>
<head>
<title>ÀûÓÃJDBC DriverÁ¬½ÓSQL Server 2000Êý¾Ý¿â</title>
</head>
<%@ page contentType="text/html;charset=GB2312"%>
<%@ page language="java" import="java.sql.* "%>
<center>
<h1>ÀûÓÃJDBC DriverÁ¬½ÓSQL Server 2000Êý¾Ý¿â</h1>
</center>
<table>
<tr>
<td>Óû§ID</td>
<td>ÐÕÃû</td>
<td>ÄêÁä</td>
<td>Óʼþ</td>
<td>µØÖ·</td>
</tr>
</table>
<% /*¼ÓÔØJDBC Driver*/
java.lang.Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
Ïà¹ØÎÊ´ð£º
»·¾³£º1.win2003server+oracle9i
2.oracle9i×Ö·û¼¯ÎªAMERICAN_AMERICA.WE8ISO8859P1
3.oracle sql developer°æ±¾ 1.5.5
ÏÖÏóÃèÊö: 1.ÔÚsql developer ÖвéѯoracleÖеÄij¸ö±í£¬ÖÐÎÄÈ«²¿ÏÔʾΪÂÒÂë¡£
......
СµÜÕý×¼±¸×Ô¼ºÌáǰѧϰÊý¾Ý¿â£¬µ«ÊÇÏÖÔÚÓиöÎÊÌ⣬²»ÖªµÀ¸ÃÑ¡Ôñʲô°æ±¾µÄSQL
ѧУÒÔºóµÄÊéºÃÏñ½²SQLÓõÄÊÇSQL 2000£¬µ«ÊÇÎÒµÄϵͳÊÇWindows 7£¬Ã²ËƲ»ÄÜ×°£¬Ò²²»Ïë»»»ØXP£¨07Äê¾Í²»ÓÃXPÀ²£©£¬ËùÒÔÔÚÏ룬ÄÜ· ......
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jas ......