当前位置:编程学习 > JSP >>

JSP代码不知道错在哪

exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 13 in the jsp file: /WebRoot/ChuLi.jsp Shuju cannot be resolved to a type 10: request.setCharacterEncoding("GBK"); 11: String name =request.getParameter("setname"); 12: String age = request.getParameter("setage"); 13: Shuju sj = new Shuju(); 14: shujudaoxinjian sjxj = new shujudaoxinjian(); 15: sj.setname(name); 16: int AGE=Integer.parseInt(age); 我上面也导入包了啊 <%@ page language="java" import="java.util.*,java.text.*,Test.*" contentType="text/html;charset=GBK"%> TEST是我在这个项目里创建的包。那他为什么说13行有错呢?MYEclipes里没报错啊, 求大神指点。
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,