报错:++++++++++++++++++++++++++++++++++++++++++++++++org.apache.jasper.JasperException: Can't find a method to write property 'msg' in a bean of type 'show.showit'
解决方案 »
- spring 配置文件
- IE6显示的下拉菜单的问题
- 如何让welcome-file 跳转到Action呢?
- 关于session和request 到底用谁?
- 关于jsp设计论坛实现帖子发表,回复的代码我不懂,求高手解释下!万分感谢!
- Servlet.service() for servlet jsp threw exception
- 公司让我学SUN的Sun Java Studio Greator,还要看什么 JavaServer Faces (JSF),不清楚他们是什么东西,请大家帮帮忙,我该不该学?
- jspsmartupload可以支持上传zip,rar吗??
- mysql-connector-java复制到哪个文件夹里
- 求救:看不了CSDN的页面,不知大家遇到过没有?
- 我在jsp程序中要输出中文,并且要用weblogic,可是中文总是乱码,怎么解决?
- java中抛出异常catch(Exception e)的e表示什么意思啊?
干嘛设成私有的?
这样的变量,不能被外部调用吧。
Bean文件:
package show;
import java.io.*;
public class showit implements Serializable
{
private String msg ;
public showit(){
msg="abc";
}
public String getMsg(){
return msg;
}
public void setMsg(String msg){
this.msg=msg;
}
};
后来换了Resin服务器,行了。