JSP的九大内置对象和四个作用域
JSP的九大内置对象:
page,application,session,request,response,out,exception,config,pageContext. JSP的四个作用域:application,session,request,page.application作用域就是服务器启动到关闭的整段时间,在这个作用域内设置的信息可以被所有应用...
分类:
Web程序 时间:
2016-05-13 04:29:45
阅读次数:
197
JavaServer Pages标准标记库(JSTL)是一个有用的JSP标签的集合,它封装了许多JSP应用程序通用的核心功能。
JSTL支持常见的,结构性任务,如迭代和条件,标签为操纵XML文件,国际化标签和SQL标签。它还提供了一个框架,将现有的自定义标签和JSTL标签...
分类:
Web程序 时间:
2016-05-13 04:04:11
阅读次数:
164
创建密钥对在终端中一次输入下面的脚本openssl genrsa -out private_key.pem 1024openssl req -new -key private_key.pem -out rsaCertReq.csropenssl x509 -req -days 3650 -in rsaCertReq.csr -signkey private_key.pem -out rsaCert....
分类:
系统相关 时间:
2016-05-13 03:45:43
阅读次数:
183
Linux下grep的基本过滤技巧
显示包含Orcl-Extract-Serv:63的字符串
tail -f /opt/apache/apache-tomcat-6.0.29/logs/catalina.out |grep Orcl-Extract-Serv:63
白名单过滤策略
显示包含Orcl-Extract-Serv:63或Orcl-Extract-Serv:...
分类:
系统相关 时间:
2016-05-13 03:11:15
阅读次数:
280
源代码:
class Root{
static{
System.out.println("Root的静态初始化块");
}
{
System.out.println("Root的普通初始化块");
}
{
System.out.println("Root的无参数初始化块");
}
}
class Mi...
分类:
其他好文 时间:
2016-05-13 02:22:57
阅读次数:
138
过滤器概念
过滤器,在执行request前或者response后进行过滤处理。
request前过滤举例:在要求登录的网站,在未登录的状态下,除了登录界面,访问其他然都会自动转到登录界面。
执行顺序
假设有2个Filter,那么在显示网页和过滤器的执行顺序如下:
doFilter1{
System.out.println("1:Filter1");
chain.doFilter(re...
分类:
其他好文 时间:
2016-05-13 02:07:52
阅读次数:
141
Til the Cows Come HomeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 41213 Accepted: 13990DescriptionBessie is out in the field and wants to get back to the barn to get as much sleep as pos...
分类:
Web程序 时间:
2016-05-13 02:00:51
阅读次数:
220
Sorting It All Out
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 31994
Accepted: 11117
Description
An ascending sorted sequence of dist...
分类:
编程语言 时间:
2016-05-13 01:08:55
阅读次数:
181
Sorting It All Out
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 31994
Accepted: 11117
Description
An ascending sorted sequence of dist...
分类:
编程语言 时间:
2016-05-13 00:40:24
阅读次数:
252
题目:Reverse Nodes in k-Group
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the...
分类:
其他好文 时间:
2016-05-12 23:57:12
阅读次数:
213