编写一个JAVA类和一个JSP页面,把下列信息封装到3个Student对象里,再把每个对象放到一个ArrayList对象里,再利用ArrayList对象在JSP页面的表格中显示所下表所示的信息
package st.jsp;
import java.util.ArrayList;
public class student {
public int num;
public String name;
public String sex;
public int cla;
public int sore;
public student(int num,String name,String sex,int cla,int sore){
this.num=num;
http://www.doczj.com/doc/73a18796af51f01dc281e53a580216fc710a5347.html=name;
this.sex=sex;
this.cla=cla;
this.sore=sore;
}
public static void main(String []arg){
ArrayListarray=new ArrayList();
}
}
String path = request.getContextPath();
String basePath =