我的代码:<%@page import="java.sql.ResultSet"%>
<%@page import="com.stuinfo.dbutil.DBManager"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Insert title here
<%
DBManager dbManager = new DBManager();
String sql = "select * from student";
ResultSet rs = dbManager.execQuery(sql);
while(rs.next()){
String a = rs.getString(1);
%>
代码中的student表和xueji表在单表查询时都可以正常使用,当我想执行“select * from student natural join xueji; ” 的时候就会在此处报错while(rs.next() ..求助!!!!!