JSP课程设计-简单用户管理系统的设计与开发(19)
发布时间:2021-06-11
发布时间:2021-06-11
value="注册
"> </font>
</body> </html>
<input type="button" value="取消"></font>
</form></div>
导航界面的实现
注册界面的名称为index.jsp,其主要代码如下:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%
String path = request.getContextPath(); String basePath =
request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head>
<base href="<%=basePath%>">
<title>导航页面</title> <meta http-equiv="pragma" content="no-cache">
<body background=3.jpg>
<div align="center"><font size="6" face="微软雅黑"><br><br><br><font color="#000000"><strong><font face="楷体"><font size="7">欢迎
<%=request.getSession().getAttribute("username") %></font></font></strong></font></font><font face="微软雅黑" size="6"><font face="楷体"
<meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> <!--
<link rel="stylesheet" type="text/css" href="styles.css"> -->
</head>
上一篇:应急救援物资清单一览表