backgroud找不到 看看classes中有没有 或者 将其路径放到环境变量的classpath中
解决方案 »
- response.addHeader() 问题?
- 如何获取网络下载文件大小、下载时间?
- 如何从内容中过滤掉图片,只要显示部分文字内容?
- 求教:数据库抛出异常Invalid operation for the current cursor position.
- 关于移动文字的速度问题`
- 我写了一个jsp页面通过bean连接数据库sql server,在本机可以成功连接,但放到网上jsp空间上就不行了,这是什么原因啊?
- 关于war包中文件访问路径的问题,急
- tomcat---jsp页面访问速度
- SQLServer问题,急!
- jsp中使用substring()遇到的问题。
- 请问tomcat有没有可以规定servlet什么时候运行的配置?
- 那里可以下载免费的、不用注册的用java applet做的treeview
//=====background.java
public class background{
private String backgroundColor="";
private String textColor="";
private int size=1;
public background(){
public void setBackgroundColor(String backgroundColor){
this.backgroundColor=backgroundColor;
}
public String getBackgroundColor(){
return this.backgroundColor;
}
public void setTextColor(String textColor){
this.textColor=textColor;
}
public String getTextColor(){
return this.textColor;
}
public void setSizse(int size){
this.size=size;
}
public int getSize(){
return this.size;
}
}
提示:
public void setBackgroundColor(String backgroundColor){
^
background.java:23 ';' expectedbackground.java:24 '}' expected
public class background{
private String backgroundColor="";
private String textColor="";
private int size=1;
public background(){
public void setbackgroundColor(String backgroundColor){
this.backgroundColor=backgroundColor;
}
public String getBackgroundColor(){
return this.backgroundColor;
}
public void setTextColor(String textColor){
this.textColor=textColor;
}
public String getTextColor(){
return this.textColor;
}
public void setSizse(int size){
this.size=size;
}
public int getSize(){
return this.size;
};
}
}