An exception occurred processing [/test1.jsp] at line [5]

求大佬解答一下是什么问题啊

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import="java.sql.*" %>
<%
		int id = Integer.valueOf(request.getParameter("number"));
		try{
				Class.forName("com.mysql.jdbc.Driver");
				Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/maiba","root","3268620");
				Statement stmt = conn.createStatement();
				ResultSet rs=stmt.executeQuery("select * from worker where id="+id);
				if(rs.next()){
					out.print(" id: " + id);
					out.print("; name: " + rs.getString(2));
					out.print("; sex:" + rs.getString(3));
					out.print("
"); } }catch(SQLException e){ e.printStackTrace(); } %>
An exception occurred processing [/test1.jsp] at line [5]_第1张图片

你可能感兴趣的:(An exception occurred processing [/test1.jsp] at line [5])