不知道那里出错了,请帮下忙
index.jsp
前面代码
<%@ page contentType= "text/html; charset=gb2312 " language= "java " import= "java.sql.* "
errorPage= " " %>
<%@ page import= "com.wgh.DB.connDB " %>
<%
connDB conn=new connDB();
String username=(String)session.getAttribute( "username ");
ResultSet rs_sale=conn.executeQuery( "select top 4 ID,goodsName,price,nowprice,picture 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_picture= " ";
ResultSet rs_new=conn.executeQuery( "select top 6 ID,goodsName,nowprice,introduce,picture from tb_goods where newGoods=1 order by INTime desc ");
int new_ID=0;
String new_goodsname= " ";
float new_nowprice=0;
String new_introduce= " ";
String new_picture= " ";
%>
<html>
<head>
<title> 电子网 </title>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 ">
<link href= "CSS/style.css " rel= "stylesheet ">
</head>
<body>
<table width= "790 " border= "0 " cellspacing= "0 " cellpadding= "0 " align= "center ">
<tr>
<td class= "tableBorder ">
<jsp:include page= "navigation.jsp "/>
<table width= "790 " height= "236 " border= "0 " align= "center " cellpadding= "0 " cellspacing= "0 ">
<tr>
<td width= "182 " height= "182 " valign= "top ">
<jsp:include page= "left.jsp "/>
</td>
.....................................
....................................
错误提示:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 6
3: <%
4: connDB conn=new connDB();
5: String username=(String)session.getAttribute( "username ");
6: ResultSet rs_sale=conn.executeQuery( "select top 2 ID,goodsName,price,nowprice,picture from tb_goods where sale=1 order by INTime desc ");
7: int sale_ID=0;
8: String s_goodsname= " ";
9: float s_price=0;
<