⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.jsp

📁 jsp博客网站系统做得还可以的需要的人可以
💻 JSP
字号:

<%@ page language="java" 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">
		<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="css/styles.css">
	</head>

	<body>
		<CENTER>
		<jsp:include page="common/indexheader.jsp" />
		
  <table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr bgcolor="#E4EDFB"> 
      <th width="400" valign="top"> 
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
          <TR> 
            <TD colspan="2" align="center" valign=middle><IMG src="images/logo_1.jpg"></TD>
          </TR>
          <TR height="50"> 
            <TD class="padL25" align="right"> 已经有博客空间了?>>> </TD>
            <TD nowrap align="left" valign="left"> <INPUT type="Button" name="loginButton" value="登录" class="signinbtn" onclick="location.href='login.jsp'" /> 
            </TD>
          </TR>
          <TR height="50"> 
            <TD class="padL25" valign="right" align="right"> 还没有博客空间?>>> </TD>
            <TD nowrap align="left" valign="left"> <INPUT type="Button" name="regButton" value="注册" class="signinbtn" onclick="location.href='reg.jsp'" /> 
            </TD>
          </TR>
        </table></th>
      <th width="47">&nbsp;</th>
      <th width="353" valign="top"> 
        <TABLE>
          <TR> 
            <td> <jsp:include page="common/spacelist.jsp">
									<jsp:param name="usersType" value="newusers"/>
									<jsp:param name="listName" value="最新更新"/>
								</jsp:include>
              </td>
          </tr>
          <tr> 
            <td> <jsp:include page="common/spacelist.jsp">
									<jsp:param name="usersType" value="hotusers"/>
									<jsp:param name="listName" value="最受欢迎"/>
								</jsp:include>
              </td>
          </TR>
        </TABLE>
      </th>
    </tr>
  </table>
		</CENTER>
		<jsp:include page="common/footer.jsp" />
	</body>
</html>

⌨️ 快捷键说明

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