- 浏览: 108611 次
- 性别:
- 来自: 青岛
最新评论
-
everlxq:
...
window 、dom
文章列表
protected static int count = 0;
/**
* 生成24位UUID
* @return UUID 24bit string
*/
public static synchronized String getUUID() {
count++;
long time = System.currentTimeMillis();
String uuid = "G" + Long.toHexString(time) + Integer.toHexString(count)
+ L ...
<%String hdlx = request.getParameter("hdlx");
%>
<s:form id="editForm" action="xlgzxxtjcxAction_search" enctype="multipart/form-data" target="_parent" namespace='/bd'>
<s:hidden name="search" value="1"/> ...
s:iterator value="categorys" id="c">
<s:if test="1 == #c.pId">
1
</s:if>
<s:else>
2
</s:else>
</s:iterator>
onfocus="this.value='';this.style.color='#333';"
<c:choose>
<c:when test="${shmc eq '通过'}">
<font color="blur"> <s:property value="shmc"/></font>
</c:when>
<c:when test="${shmc eq '不通过'}">
<font color="red"> <s:property valu ...
<s:iterator value="#session.zygxTypes" id="zy" status="zyg">
<td width="33%" height="100%">
<table width="100%" height="80%">
<tr><td style="height: 30px;" class="n ...
<html>
<head>
<title>我的第一个 HTML 页面</title>
</head>
<body>
<div style="color:black;width=120px;height:40px;" onmouseover="this.style.border='1px solid red'" onmouseout="this.style.border='none'">111</div>
</body ...
function clearForm() {
var formObj = document.forms[0];
var formEl = formObj.elements;
for ( var i = 0; i < formEl.length; i++) {
if (formEl[i].type == 'text') {
formEl[i].value = '';
}
}
return true;
}
select * from (select ID,WJMC,RANK() over ( order by ID ) case3 from T_ZYGXPT where TYPEID=143 order by T_ZYGXPT.GXSJ asc) as tt where case3 between 1 and 6"
排序之后选择前6条数据
<%@ page language="java" import="java.util.*" pageEncoding="utf-8" isELIgnored="false"%>
<%@page import="vo.Location" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD ...
body {
margin: 0px;
padding: 0px;
background-color: #FFFFFF;
font-size: 12px;
text-decoration: none;
color: #383838;
}
a {
text-decoration: underline;
color: #027000;
}
.top {
background-image: url(../images/top_bg.jpg);
background-repeat: repeat-x;
height: 47px;
}
.t ...
点击 Ente r登录
<FORM onKeyDown="if(event.keyCode==13) return login();" name=form1 action=? method=post target=_top>
DisplayTag是一个非常好用的表格显示标签,适合MVC模式,其主页在http://displaytag.sourceforge.net/
一、最简单的情况,未使用<display:column/>标签
<%request.setAttribute( "test", new ReportList(6) );%>
<display:table name=&qu ...
public String noticemessage(){
ChatManager.noticeRebackMessage(this.getRequest(), noticemessage);
return "this";//本页面
}
package com.web.utils;
import java.util.Collection;
import java.util.List;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServ ...
package com.web.utils;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.Rectangle;
import java.awt.Shape;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.DecimalFormat;
import java.text.Nu ...