Java Web第一章 index.jsp
来源:互联网 发布:nginx 域名www跳转 编辑:程序博客网 时间:2024/06/07 16:42
<%@ 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>My JSP 'index.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">
<td class="btnav" onmouseover="style.backgroundColor='#84DFC1';"
onmouseout="style.backgroundColor='#84C1DF'">
<div align="center"><a href="http://www.mylink.com/" target="_blank">MyLink</a></div>
</td>
</style>
</head>
<body>
<a name="top">这是顶部</a><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/>
<Table>
<Tr>
<td class="btnav" onmouseover="style.backgroundColor='#84DFC1';"
onmouseout="style.backgroundColor='#84C1DF'">My Table</Td><td>My Table</Td> <td>My Table</Td>
</Tr>
<Tr>
<td class="btnav" onmouseover="style.backgroundColor='#84DFC1';"
onmouseout="style.backgroundColor='#84C1DF'">My Table</Td><td>My Table</Td> <td>My Table</Td>
</Tr>
<Tr>
<td class="btnav" onmouseover="style.backgroundColor='#84DFC1';"
onmouseout="style.backgroundColor='#84C1DF'">My Table</Td><td>My Table</Td> <td>My Table</Td>
</Tr>
</Table>
<a href="#top">跳到顶部</a>
<br/><br/><br/><br/><br/><br/><br/><br/><br/>
</body>
</html>
<%
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>My JSP 'index.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">
<td class="btnav" onmouseover="style.backgroundColor='#84DFC1';"
onmouseout="style.backgroundColor='#84C1DF'">
<div align="center"><a href="http://www.mylink.com/" target="_blank">MyLink</a></div>
</td>
</style>
</head>
<body>
<a name="top">这是顶部</a><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/>
<Table>
<Tr>
<td class="btnav" onmouseover="style.backgroundColor='#84DFC1';"
onmouseout="style.backgroundColor='#84C1DF'">My Table</Td><td>My Table</Td> <td>My Table</Td>
</Tr>
<Tr>
<td class="btnav" onmouseover="style.backgroundColor='#84DFC1';"
onmouseout="style.backgroundColor='#84C1DF'">My Table</Td><td>My Table</Td> <td>My Table</Td>
</Tr>
<Tr>
<td class="btnav" onmouseover="style.backgroundColor='#84DFC1';"
onmouseout="style.backgroundColor='#84C1DF'">My Table</Td><td>My Table</Td> <td>My Table</Td>
</Tr>
</Table>
<a href="#top">跳到顶部</a>
<br/><br/><br/><br/><br/><br/><br/><br/><br/>
</body>
</html>
0 0
- Java Web第一章 index.jsp
- 【JSP笔记】第一章 JAVA WEB简介
- Servlet&JSP 第一章 Web应用程序简介
- 第一章--java web应用程序概述
- java web学习笔记第一章
- 第一章 Java Web开发概述
- 第一章 Java Web开发简介
- 第一章 Java Web工作原理
- index.jsp
- index.jsp
- index.jsp
- MyEclipse中web.xml和index.jsp文件字体设置
- web.xml 配置了 dispatchServelt ,为什么还走到index.jsp
- maven构建web项目"index.jsp"页面有错
- eclipse创建maven web项目时,index.jsp报错
- eclipse创建maven web项目时,index.jsp报错
- maven建web项目index.jsp报错
- JSP第一章
- 天气预报--插件功能完善
- POJ 2065 SETI(高斯消元)
- 并查集
- Linux的SOCKET编程详解
- c语言中二分法查找的升级版--折半查找法
- Java Web第一章 index.jsp
- 11111111111111
- bzoj1058: [ZJOI2007]报表统计 STL
- 32_手机超级管理员&一键锁屏,擦除数据
- 【安卓笔记】扁平化的ProgressBar-----ProgressWheel
- 二叉搜索树的性质与操作
- POJ3264
- Visible Lattice Points poj+欧拉函数的应用+水水的过了
- 中国剩余定理