关于MVC+Jsp模式学生成绩管理系统中src下servlet和bean的设置问题

<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" %>



无标题文档



/jsp:useBean

<%
if(stu_id==null){response.sendRedirect("login.jsp");}
update.setStu_id(stu_id);
update.update();
String d= update.getStu_id();
out.print("学生号: "+d+"
");
String a = update.getPassword();
out.print("您的新密码: "+a+"
");
String b= update.getTel();
out.print("您的电话: "+b+"
");
String c= update.getE_mail();
out.print("E_mail: "+c+"
");
%>

<<您已经更新成功,请返回


<%
}catch (Exception e){out.print(e.toString());}
%>


显示关于update都有错,可update的servlet和bean都不会编写,可怎么办