求教大神 在MyEclipse 10中运行Java程序出现这个问题怎么解决
程序代码:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %> <jsp:useBean id="conn" scope="page" class="com.tools.ConnDB"/><% String username=(String)session.getAttribute("username"); ResultSet rs_sale=conn.executeQuery("select top 3 ID,GoodsName,price,nowprice,picture,introduce from tb_goods where sale=1 order by INTime desc"); int sale_ID=0; String s_goodsname=""; float s_price=0; float s_nowprice=0; String s_introduce=""; String s_picture=""; ResultSet rs_new=conn.executeQuery("select top 4 ID,GoodsName,nowprice,picture from tb_goods where newGoods=1 order by INTime desc"); int new_ID=0; String new_goodsname=""; float new_nowprice=0; String new_picture=""; %>
将这个错误的那行代码 放进SQL server 2005中 显示这样的错误
求教大神 怎么解决