adminlogin.jsp

来自「>项目名称:电脑电子商务平台 >1.运行环境JDK1.6+Orac」· JSP 代码 · 共 65 行

JSP
65
字号
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'adminLogin.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<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">
	-->
    <style type="text/css">
<!--
.STYLE1 {
	font-size: 24px;
	font-weight: bold;
}
-->
    </style>
</head>
 
  <body>
  <html:form action="/adminLogin">
  <table width="99%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><div align="center"><span class="STYLE1">商品后台管理</span></div></td>
    </tr>
    <tr>
      <td><div align="center">
       
       
        <p>&nbsp;</p>
      </div></td>
    </tr>
    <tr>
      <td>
	  
	    <div align="center"><html:errors/></div></td>
    </tr>
    <tr>
      <td><div align="center">用户:<html:text property="name"/></div></td>
    </tr>
    <tr>
      <td><div align="center">  密码:<html:password property="password"/></div></td>
    </tr>
    <tr>
      <td><div align="center"><html:submit>提交</html:submit></div></td>
    </tr>
  </table>
  </html:form>
  </body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?