再网页中插入<jsp:useBean id="compare" scope="page" class="compare_scope"/>运行后,tomcat报错为:
The server encountered an internal error () that prevented it from fulfilling this request.
不知为什么啊?compare_scope.class(源文件如下:)public class compare_scope
{
private String scopeType;
public void setscopeType(String scopeType)
{
this.scopeType=scopeType;
}
public String getscopeType()
{
return scopeType;
}
}
The server encountered an internal error () that prevented it from fulfilling this request.
不知为什么啊?compare_scope.class(源文件如下:)public class compare_scope
{
private String scopeType;
public void setscopeType(String scopeType)
{
this.scopeType=scopeType;
}
public String getscopeType()
{
return scopeType;
}
}
解决方案 »
- struts2 ContentType 浏览器兼容问题
- java socket如何传输接收文字和图片
- extjs+json+servlet,这是啥错啊
- 要连接2个数据库,用C3P0怎么实现呢?
- 计算登陆时间的问题
- 什么工具可以在提交请求时看到我POST过去的东西?
- g.drawString(strname,x,y)中文乱码问题!
- struts2.1.8 显示的都是 uft-8 中文都是 斯 &#*****
- JSP中Order by与.last()的问题
- 急,如何防止图片下载
- 请教各位一下:怎么用JSP在IE中打开本地的.doc/.xls/.pdf并浏览 啊?
- JSP中怎样获取地址栏中的信息?
然后把.java文件放在WEB-INF下编译