- 博客(6)
- 收藏
- 关注
原创 request.getRemoteAddr()如何获取用户真实的IP地址
要获得用户真实的IP地址需要借助请求报头中的x-forwarded-for变量。request.getHeader("x-forwarded-for");完整实例如下你的IP地址是:在很多应用下都可能有需要将用户的真实IP记录下来,这时就要获得用户的真实IP地址,在JSP里,获取客户端的IP地址的方法是:request.getRemoteAddr()...
2010-06-12 10:54:25
494
原创 ddddddddddddddddddddddddddddd
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...
2010-05-14 18:05:03
1028
quartz and cos upload and commands upload
quartz and cos upload and commands uploadquartz and cos upload and commands uploadquartz and cos upload and commands uploadquartz and cos upload and commands uploadquartz and cos upload and co...
2010-04-12 17:05:57
95
原创 Excel使用
1.级联菜单做成(参照附件)2.数据可筛选(表头下拉框形式显示,可筛选列中数据) 菜单DATA--Filter--AutoFilter (用鼠标选择你要操作的列:菜单中选“数据—筛选—自动筛选”)3.固定列,当移动滚动条是该列不移动 菜单中选“Window—Freeze Panes” (“窗口--冻结窗格”)4.数据下拉框制作 a.Data--Valid...
2009-12-16 16:39:44
122
原创 自己用工具
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)){// 如:...
2009-10-23 00:45:48
104
原创 自定义的eclipse的快捷键
Workspace%/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs 打开这个文件,里面有如下一行:org.eclipse.ui.commands= ...配置的快捷键org.eclipse.ui.commands=后面的是 XML文件格式 的字符串数据就是我...
2009-03-27 09:39:19
104
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人