1、配置tomcat-users.xml文件 在tomcat安装目录下找到tomcat-users.xml文件。该文件路径为【tomcat安装根目录】/conf/ 修改文件内容,增加下列内容:(一般配置后两个角色就行了) 启动tomcat7,然后访问http://localhost/manager/ ...
分类:
其他好文 时间:
2018-01-07 23:35:36
阅读次数:
395
package Queue; import java.util.*; import java.util.function.Consumer; /** * 双端队列主要实现list接口和Deque接口,实现了所有list操作,元素允许为null * 该实现是不同步的,not synchronized.... ...
分类:
编程语言 时间:
2017-12-16 22:11:29
阅读次数:
210
Fleeting time does not blur my memory of you. Can it really be 4 years since I first saw you? I still remember, vividly, on the beautiful Zhuhai Campu ...
# Package generated configuration file# See the sshd_config(5) manpage for details# What ports, IPs and protocols we listen forPort 22# Use these opti ...
分类:
其他好文 时间:
2017-12-09 16:59:05
阅读次数:
374
4900 4900 服务器地址错误 运行时产生以下错误:Could not connect to development server. 1、URL地址设置 问题: [objc] view plain copy Could not connect to development server. Ens ...
分类:
其他好文 时间:
2017-12-08 12:22:31
阅读次数:
263
Design a data structure that supports all following operations in average O(1) time. Example: 性能这么好肯定是得空间换时间。加删都是O(1),想到要用到Hash,但是HashSet不能random存取,所以 ...
分类:
其他好文 时间:
2017-12-01 11:43:14
阅读次数:
191
在Oracle中 可以使用instr函数对某个字符串进行判断,判断其是否含有指定的字符。 在一个字符串中查找指定的字符,返回被查找到的指定的字符的位置。 语法: instr(sourceString,destString,start,appearPosition) instr('源字符串' , '目 ...
分类:
数据库 时间:
2017-11-29 16:07:44
阅读次数:
261
每个玩计算机的都有一个黑客梦 kali-linux欢迎你 之前有玩过一段时间的Ubuntu,所以感觉没啥问题吧,大概,结果没想到才到安装就... 第一个:下载kali-linux 宿舍网太慢或者是因为国外?实在是太慢了... 找了中科大的镜像http://mirrors.ustc.edu.cn/ka ...
分类:
系统相关 时间:
2017-11-18 22:00:17
阅读次数:
198
Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies: Si % Sj = 0 or ...
分类:
其他好文 时间:
2017-11-12 14:10:46
阅读次数:
145
Description In an extended version of the game Lights Out, is a puzzle with 5 rows of 6 buttons each (the actual puzzle has 5 rows of 5 buttons each). ...
分类:
其他好文 时间:
2017-11-10 00:37:15
阅读次数:
231