1. 程式人生 > >JavaWeb中利用ModelAndView 和SpringMVC中結合進行資料渲染

JavaWeb中利用ModelAndView 和SpringMVC中結合進行資料渲染

package com.by.model;


public class testresModel {
public int top;
public int left;
public int width;
public int height;
public testresModel(){

}
public void setTop(int top){
this.top = top;
}
public void setLeft(int left){
this.left = left;
}
public void setWidth(int width){
this.width = width;
}
public void setHeight(int height){
this.height = height;
}
public int getTop(){
return this.top;
}
public int getLeft(){
return this.left;
}
public int getWidth(){
return this.width;
}
public int getHeight(){
return this.height;
}
}