问题描述
org.apache.jasper.JasperException:javax.servlet.ServletException:java.sql.SQLException:[Microsoft][SQLServer2000DriverforJDBC]Columnindex2isoutofrange.org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rootcausejavax.servlet.ServletException:java.sql.SQLException:[Microsoft][SQLServer2000DriverforJDBC]Columnindex2isoutofrange.org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)org.apache.jsp.shishi1_jsp._jspService(shishi1_jsp.java:91)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rootcausejava.sql.SQLException:[Microsoft][SQLServer2000DriverforJDBC]Columnindex2isoutofrange.com.microsoft.jdbc.base.BaseExceptions.createException(UnknownSource)com.microsoft.jdbc.base.BaseExceptions.getException(UnknownSource)com.microsoft.jdbc.base.BaseResultSet.validateColumnIndex(UnknownSource)com.microsoft.jdbc.base.BaseResultSet.getString(UnknownSource)org.apache.jsp.shishi1_jsp._jspService(shishi1_jsp.java:72)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)哪位大大告诉下该怎么弄了啊
解决方案
解决方案二:
你用的老驱动,3个jar的那种,换新的jdbc3.0的驱动!
解决方案三:
你下载个驱动,SP4补丁