String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
">
My JSP 'c.jsp' starting pag...
分类:
其他好文 时间:
2015-07-29 06:26:55
阅读次数:
110
一:page指令
1.指定编码和语言
2.指定页面的显示形式。word
My JSP 'pageword.jsp' starting page
response.setHeader("Content-Disposition","attachment;filename=pageword.doc...
分类:
Web程序 时间:
2015-07-28 18:33:53
阅读次数:
120
今天是2015年7月28日,星期二,晴,下午坐在科创园2楼的办公室里,窗明几净,继续我全新的Android之旅!在调试和比较了N多IDE集成开发环境之后,最终决定在IDEA SDK环境下试试手,在已经装好的Intellij IDEA环境下,结合在极客资源上下载的离线Android SDK包,解压并按...
分类:
其他好文 时间:
2015-07-28 17:43:33
阅读次数:
128
应用部署上之后无法正常启动,tomcat启动日志如下:
信息: Starting service Catalina
2015-7-22 18:39:31 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.36
2015-7-22 18:39:31 org....
分类:
其他好文 时间:
2015-07-27 13:22:46
阅读次数:
298
【034-Search for a Range(搜索一个范围)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Given a sorted array of integers, find the starting and ending position of a given target value.
Your algorithm’s runtime comple...
分类:
编程语言 时间:
2015-07-27 08:13:21
阅读次数:
328
【030-Substring with Concatenation of All Words(串联所有单词的子串)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 You are given a string, s, and a list of words, words, that are all of the same length. Find all starting...
分类:
编程语言 时间:
2015-07-26 07:32:10
阅读次数:
208
Happy Number
Write an algorithm to determine if a number is "happy".
A happy number is a number defined by the following process: Starting with any positive integer, replace the numb...
分类:
移动开发 时间:
2015-07-26 06:15:48
阅读次数:
134
My JSP 'Demo1.jsp' starting page
输入显示内容:
//设置一下编码,阻止出现中文乱码
request.setCharacterEncoding("utf-8");
String str=request.getParame...
分类:
Web程序 时间:
2015-07-25 18:26:57
阅读次数:
150
DescriptionA common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting with two stacks...
分类:
其他好文 时间:
2015-07-25 01:38:05
阅读次数:
109
Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ord...
分类:
其他好文 时间:
2015-07-24 10:34:10
阅读次数:
92