四、应用题 2 补全代码,使其实现下面用户信息登记页面和输入校验(18分) UserBean.java public class UserBean { private String username; private String password; private int age = 0; private Date birthday = new Date(); //Getter 和 Setter函数 } RegisterAction.java public class RegisterActionextends ActionSupport { private UserBean userbean; //Getter 和 Setter函数 //Execute函数 } Register.jsp <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags"

时间:2024-05-06 13:09:50

相似题目