过滤器,是在java
web中,你传入的request,response提前过滤掉一些信息,或者提前设置一些参数,然后再传入servlet或者struts2的action进行业务逻辑,比如过滤掉非法url(不是login.do的地址请求,如果用户没有登陆都过滤掉),或者在传入servlet或者
s....
分类:
其他好文 时间:
2014-07-22 23:16:33
阅读次数:
440
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5009题目意思:给出两个mass:x
和 y,问如何将其中一个 mass 一分为二(当然分完之后它们的和要等于原来的mass,或x 或 y),使得利用这三个mass 可称...
分类:
其他好文 时间:
2014-05-01 16:32:19
阅读次数:
405
路径:/boot/grub/grub.cfg配置文件如下:## DO NOT EDIT
THIS FILE## It is automatically generated by grub-mkconfig using templates# from
/etc/grub.d and settings ...
分类:
其他好文 时间:
2014-05-01 16:29:15
阅读次数:
452
1、下载并安装(Active direcotry 下面统一为AD)
https://directory.apache.org/studio/download/download-windows.html
http://directory.apache.org/apacheds/download/do....
分类:
其他好文 时间:
2014-05-01 15:57:37
阅读次数:
506
UIImage*img =[button
imageForState:UIControlStateNormal];
分类:
其他好文 时间:
2014-05-01 15:37:41
阅读次数:
351
原题地址:http://oj.leetcode.com/problems/reorder-list/题意:Given
a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You
must do this...
分类:
编程语言 时间:
2014-05-01 15:37:03
阅读次数:
441
#include#include#includeusing namespace std;int
main(){ int n,i; char a[100000]; cin>>a; sort(a,a+strlen(a)); do{
cout<<a<<endl; }while(next_permut...
分类:
其他好文 时间:
2014-05-01 06:20:37
阅读次数:
368
where do i beginto tell a story of how great a love
can bethe sweet love story that is older than the seathe simple truth about the
love she brings to...
分类:
其他好文 时间:
2014-04-29 17:18:46
阅读次数:
342
为了避免目标端nrpe进程监控多个接口而造成的安全漏洞。有必要固定服务端的地址,对nrpe.cfg配置中,有下列一行介绍
#SERVER ADDRESS
# Address that nrpe should bind to in case there are more than one interface
# and you do not want nrpe to bind on all in...
分类:
其他好文 时间:
2014-04-27 22:36:17
阅读次数:
454
今天有个需求需要在url中传入中文参数,结果在后台取得时出现乱码,怀疑可能是编码问题,上网查询了资料,试了几种办法,发现有一种可行,记录在此,以便查阅。
url中用encodeURI 进行2次编码:
Ext.Ajax.request({
url:"updateadminuser.do?"+userid+"&uname="+encodeURI(encodeURI(uname)),
succ...
分类:
Web程序 时间:
2014-04-27 21:48:59
阅读次数:
342