用的是eclipse。注册jsp的文字编码需要是GB18030或者GBK,如下:在web.xml文件里加(在struts2的filter前面):encodingFilterorg.springframework.web.filter.CharacterEncodingFilterencodingGB...
分类:
其他好文 时间:
2014-11-07 00:57:43
阅读次数:
113
Compute函数的参数就两个:Expression,和Filter。Expresstion是计算表达式,关于Expression的详细内容请看这里“http://msdn2.microsoft.com/zh-cn/library/system.data.datacolumn.expression(...
web.xml 中的listener、 filter、servlet 加载顺序及其详解原文链接 http://www.cnblogs.com/JesseV/archive/2009/11/17/1605015.html在项目中总会遇到一些关于加载的优先级问题,近期也同样遇到过类似的,所以自己查找资料...
分类:
Web程序 时间:
2014-11-06 21:39:30
阅读次数:
282
在配置文件AndroidManifest.xml中向系统注册receiver,子节点 intent-filter 表示接收android.intent.action.BOOT_COMPLETED 消息同时需要添加相应权限在Receiver中就可以添加开机需要进行的操作在Receiver中就可以添加开...
分类:
移动开发 时间:
2014-11-06 19:57:02
阅读次数:
237
最近项目上线,请第三方公司进行了一次渗透性测试,被发现存在多处XSS攻击。由于我们对于URL的Get请求已经通过URLFilter进行了特殊字符过滤,Get请求的漏洞已经被封堵,但是对于Post请求考虑到我们项目存在表单提交,富文本编辑等功能,不敢贸然的使用Filter对关键字进行过滤。
为了解决上述问题,我们采用了OWASP的一个开源的项目AntiSamy来彻底解决XSS攻击问题。AntiSa...
分类:
其他好文 时间:
2014-11-06 17:27:12
阅读次数:
389
使用以下PSscript可以查询在线PC的服务编号,因为服务编号是出厂就写入BIOS的.以下命令用Domainadminaccount打开ISE运行.Get-ADComputer-filter*-searchbase"ou=CNcomputers,ou=asiacomputers,ou=yourou,dc=yourdomain,dc=yourdomain"|
ForEach-Object{
$hostname=$_.name
$se..
分类:
其他好文 时间:
2014-11-06 15:09:19
阅读次数:
161
.msgDiv {
display: none; width : 100%;
height: auto;
border: #f4581b 1px solid;
background: #fff;
color: #333;
filter: progid:DXImageTransform.Microsoft.Shadow(color=#f4581b,
direction=120, st...
分类:
其他好文 时间:
2014-11-06 14:53:37
阅读次数:
147
https://code.google.com/p/busdog/busdog is a filter driver for MS Windows (XP and above) to sniff USB traffic.https://busdog.googlecode.com/files/busd...
Search 语法:public IFeatureCursor Search ( IQueryFilter filter, bool Recycling);Select 语法:public ISelectionSet Select ( IQueryFilterQuery Filter, esri.....
分类:
其他好文 时间:
2014-11-05 23:03:54
阅读次数:
193
1、 Exception starting filter struts2 java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUt 添加commons-lang3-3.1.jar 包到 WEB-INF\lib 目录下2、
分类:
其他好文 时间:
2014-11-05 22:54:31
阅读次数:
198