最近在搞个项目,客户那边用IBM的appscan扫了下。始终有“启用了不安全的 HTTP 方法”这个漏洞。 找了下网上的资料,方法都是一致的。在web.xml中添加如下代码。 <security-constraint>
<web-resource-collectio...
分类:
其他好文 时间:
2014-08-22 01:40:55
阅读次数:
195
REST - Representational State Transfer 其实这个representational是指Resource的representation ????Resource其实就是实体,ReST中所有的对象都被视为Resource。每一个Resource都有一个URI(Unique Resour...
分类:
Web程序 时间:
2014-08-22 00:27:45
阅读次数:
229
The Unique MST
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 20679
Accepted: 7255
Description
Given a connected undirected graph, tell if its minimum s...
分类:
其他好文 时间:
2014-08-21 21:18:54
阅读次数:
255
1.创建表CREATE TABLE emp_test (ID NUMBER(5,2) PRIMARY KEY, NAME VARCHAR2(20) UNIQUE, BIRTHDAY DATE);--修改表名ALTER TABLE emp_test RENAME TO TEST1;--修改表列名Alt...
分类:
数据库 时间:
2014-08-21 16:30:24
阅读次数:
336
--更新约束alter TABLE [dbo].[Sk_Recruit]dropconstraintDF_Sk_Recruit_lastcommenttimegoalter TABLE [dbo].[Sk_Recruit]addconstraintDF_Sk_Recruit_lastcommentt...
分类:
其他好文 时间:
2014-08-21 09:37:13
阅读次数:
184
表信息: 1 SELECT tabCols.COLUMN_NAME AS "Field", 2 tabCols.DATA_TYPE || '(' || tabCols.DATA_LENGTH || ')' AS "Type", 3 cons.constraint_type...
分类:
数据库 时间:
2014-08-20 19:28:32
阅读次数:
244
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array whic...
分类:
其他好文 时间:
2014-08-20 14:06:32
阅读次数:
182
The set [1,2,3,…,n] contains a total
of n! unique permutations.
By listing and labeling all of the permutations in order,
We get the following sequence (ie, for n = 3):
"123""132""213""231""3...
分类:
其他好文 时间:
2014-08-19 22:34:25
阅读次数:
288
jQuery.Callbacks是jquery在1.7版本之后加入的,是从1.6版中的_Deferred对象中抽离的,主要用来进行函数队 列的add、remove、fire、lock等操作,并提供once、memory、unique、stopOnFalse四个option进行一些特 殊的控制,这是j...
分类:
Web程序 时间:
2014-08-19 20:23:25
阅读次数:
265
1:alter table TABLE_Aadd constraint uinx_table_a unique (STUDID);2:题目有问题,table_b 中没有张飞update table_b tset t.studscore = (select s.studscorefrom table_...
分类:
其他好文 时间:
2014-08-19 16:06:44
阅读次数:
165