javax.servlet.ServletException: beanexampledir.Student?
<%@page import="beanexampledir.example.Student"%>
<jsp:useBean id="stubean" scope="application" class="beanexampledir.example.Student"/>你给出的出错信息最好是原版的,而且越详尽越好!不要手工删除有用的其他信息。
<%@page import="beanexampledir.example.Student"%>
<jsp:useBean id="stubean" scope="application" class="beanexampledir.example.Student"/>你给出的出错信息最好是原版的,而且越详尽越好!不要手工删除有用的其他信息。
这个是在IE上出现的提示的前几句,后面的没用。
我是放在beanexampledir\example\目录下呀。
写的是beanexampledir.Student,
要不就是你的.jsp文件目录不对
<%@page import="beanexampledir.example.Student"%>
是多余的,去掉试试。
而且. jsp文件一定应该路径是对的.
我已经调试你的代码通过了.
我增加了
<%@ page contentType="text/html;charset=gb2312" %>
以正确便显示中文.