文章列表
要获得用户真实的IP地址需要借助请求报头中的x-forwarded-for变量。
request.getHeader("x-forwarded-for");
完整实例如下
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.util.*"%>
<%
String realIP = reques ...
ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
quartz and cos upload and commands upload
quartz and cos upload and commands upload
quartz and cos upload and commands upload
quartz and cos upload and commands upload
quartz and cos upload and commands upload
1.级联菜单做成(参照附件)
2.数据可筛选(表头下拉框形式显示,可筛选列中数据)
菜单DATA--Filter--AutoFilter
(用鼠标选择你要操作的列:菜单中选“数据—筛选—自动筛选”)
3.固定列,当移动滚动条是该列不移动
菜单中选“Window—Freeze Panes”
(“窗口--冻结窗格”)
4.数据下拉框制作
a.Data--Validation--弹出框--Settings Allow 选择list,Source 直接写你要显示的内容中间用逗号隔开“男,女”(不含引号,用英文单引号分隔);
...
function number_format_6(s){
alert("niashi"+s);
if(s==""||s==undefined){//如果s是空串就把它设置为0
form1.nihao.value = 0.00;
return s="0";
}
s=s+"";//将数字型转换成字符串型
if(/^(\-)?\./.test(s)){// 如: .1 ,-.1 就在小数点前面补0
s=s.replace(/^(\-)?(\.)/,"$10$2");
}
...
Workspace%/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs 打开这个文件,里面有如下一行:org.eclipse.ui.commands=
<?xml version\="1.0" encoding\="UTF-8"?>
<org.eclipse.ui.commands>...配置的快捷键</org.eclipse.ui.commands>
org.eclipse.ui.comman ...
- 2009-03-27 09:39
- 浏览 1735
- 评论(0)