JSP复习题及参考答案.docVIP

  • 42
  • 0
  • 约1.43万字
  • 约 11页
  • 2017-02-09 发布于北京
  • 举报
JSP复习题及参考答案

编程题 编写程序reg.htm和reg.jsp,做一用户注册界面,注册信息包括:用户名,年龄,性别。然后提交到reg.jsp进行注册检验,若用户名为admin,就提示“欢迎你,管理员”,否则,显示“注册成功”并显示出注册信息。 reg.html: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titlereg.html/title meta http-equiv=keywords content=keyword1,keyword2,keyword3 meta http-equiv=description content=this is my page meta http-equiv=content-type content=text/html; charset=UTF-8、 !--link rel=stylesheet type=text/css href=./styles.css-- /head body form action=reg.jsp 用户名: input type=text name=name/ br / 年龄: input type=text name=age/ br / 性别: select name=sex option value=0 selected=selec

文档评论(0)

1亿VIP精品文档

相关文档