主题:请帮我看个错误!!
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 11 in the jsp file: /bbs/huiyuan/huiyuan.jsp
Generated servlet error:
The type Error is ambiguous
An error occurred at line: 11 in the jsp file: /bbs/huiyuan/huiyuan.jsp
Generated servlet error:
The type Error is ambiguous
Error 是个显示错误的类
Error error=new Error();
String username=(String)session.getAttribute("username");
if(username==null){
out.print(error.errorBox("错误","登陆错误"));
return;}
同样的上面的代码在加到不同代码段里,有的就可以执行,有的就显示上面的错误!
谁知道哪里错了吗?
An error occurred at line: 11 in the jsp file: /bbs/huiyuan/huiyuan.jsp
Generated servlet error:
The type Error is ambiguous
An error occurred at line: 11 in the jsp file: /bbs/huiyuan/huiyuan.jsp
Generated servlet error:
The type Error is ambiguous
Error 是个显示错误的类
Error error=new Error();
String username=(String)session.getAttribute("username");
if(username==null){
out.print(error.errorBox("错误","登陆错误"));
return;}
同样的上面的代码在加到不同代码段里,有的就可以执行,有的就显示上面的错误!
谁知道哪里错了吗?