Javaweb(五)JSP的内置对象

Javaweb(五)JSP的内置对象




博客说明

JSP各个页面之间的响应和传递的过程示例


一、用户注册页面:

效果预想图:
在这里插入图片描述
实现代码:

<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="gb2312"%>
<%request.setCharacterEncoding("UTF-8"); %>
<html>
<head>
    <title>register web</title>
</head>
<body>
<center>
    <img src="my.jpg"width="30px" >
    <font size="6" style="color: chocolate;margin-right: 230px" >用户注册</font><br><br>
    <b><font style="margin-right: 10px" size="3">欢迎您注册为本网站的会员,请在下面表单填写注册信息<br></font></b>
    <b><font style="margin-right: 10px" size="3">,要求每项必填,信息务必真实,方便我们联系您,谢谢!</font></b>
    <form action="success.jsp" method="post" name="form" style="margin-top: 10px">
        <fieldset style="border-style: dashed;border-color: grey;width: 380px;height:270px">
            <legend style="background: maroon;color: white;border-radius: 10%;margin-right: 280px;" >创建新账户</legend>
            <b>用户名:<input type="text" name="username" /></b><br>
            &nbsp;&nbsp;&nbsp;<b>密码:<input type="password" name="password" style="margin-top: 10px"/></b><br>
            <b>密码确认:<input type
  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值