struts和tomcat时,tomcat总是提示:IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted;
public class InfoDbForm extends ActionForm {
//private InfoDb infodb1 = new InfoDb();
private InfoDb infodb=new InfoDb();
public void setDatasetname(String datasetname){
infodb.setDatasetname(datasetname);
//this.infodb1 = infodb;
}
public String getDatasetname(){
return (infodb.getDatasetname());
}
public void setInfo(InfoDb info){
this.infodb=info;
//this.infodb1 = infodb;
}
public InfoDb getInfo(){
return (this.infodb);
//return (this.infodb1);
}
// This method is called with every request. It resets the Form
// attribute prior to setting the values in the new request.
public void reset(ActionMapping mapping, HttpServletRequest request){
//this.infodb1 = new InfoDb();
}
public ActionErrors validate(ActionMapping arg0,HttpServletRequest arg1){
ActionErrors errors=new ActionErrors();
return errors;
}
}