<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>err.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
<script src="scripts/jQuery/jquery.js" type="text/javascript"></script>
<script language="javascript">
$(document).ready(function() {
function jump(count) {
window.setTimeout(function(){
count--;
if(count > 0) {
基于jquery的页面定时跳转 27 June 2010 9:25 Sunday by 小屋 浏览(2329)
css手型 27 May 2010 14:38 Thursday by小屋 浏览(3093)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html
>
<head>
<title
>cursor</title
>
</head>
<body>
<p style=cursor:hand>手形</p>
<p style=cursor:move>移动标志</p>
<p style=cursor:wait>等待状态
</p>
<p style=cursor:crosshair>定位指示
</p>
<p style=cursor:help>寻求帮助</p>
</body>
</html
>
IE与Firefox中兼容 的html 中巧用CSS改变鼠标 为手形
<div style="cursor: pointer" mce_style="cursor: pointer"> 说明文字 内容 </div>
alert窗口弹出两次 06 May 2010 20:25 Thursday by小屋 浏览(1852)
JSP生成静态HTML页面的3种方法 09 December 2009 21:22 Wednesday by小屋 浏览(1859)
一、从数据库中取相应数据并替换掉模板中的对应标签,下面是一个简单的示例
1.buildhtml.jsp
<%@ page contentType="text/html; charset=gb2312" import="java.util.*,java.io.*"%>
<%
try{
String title="This is Title";
String content="This is Content Area";
String editer="LaoMao";
String filePath = "";
filePath = request.getRealPath("/")+"test/template.htm";
//out.print(filePath+"<br>");
String templateContent="";
FileInputStream fileinputstream = new FileInputStream(filePath);//读取模块文件
int lenght = fileinputstream.available();
byte bytes[] = new byte[lenght];
fileinputstream.read(bytes);