正在加载图片...
public double getHeight()( return height: 1 public void setHeight(double height)( this.height height; public int getAge()( return age; public void setAge(int age)( this.ageage; public String tostring() eturn this.name+":"tthis.height+":"tthis.age k)设计add.jsp页面,操作步骤如图2-11所示 0erem4618①s:ajwm 4 1.Click JSP Button 2.Click on the Canvas 回 JSP Wizard Pile Path File gone 3.Change name and select JSF templete 4.Click finsh Einish 图2-11 1)用同样的方法设计show.jsp页面,如图2-12所示。} public double getHeight() { return height; } public void setHeight(double height) { this.height = height; } public int getAge() { return age; } public void setAge(int age) { this.age = age; } public String toString(){ return this.name + ":" +this.height + ":" +this.age; } } k) 设计add.jsp页面,操作步骤如图2-11所示: 图2-11 l) 用同样的方法设计show.jsp页面,如图2-12所示
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有