linux suse11在terminal可以正常登录进行各种操作,在tomcat运行jdbc
web程序异常:com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failureThe last p...
分类:
数据库 时间:
2014-05-26 22:03:31
阅读次数:
374
下面的表单拥有两个输入字段以及一个提交按钮: First name: Last name:
属性值值描述button定义可点击按钮(多数情况下,用于通过 JavaScript 启动脚本)。checkbox定义复选框。file定义输入字段和
"浏览"按钮,供文件上传。hidden定义隐藏的输...
分类:
Web程序 时间:
2014-05-26 16:35:40
阅读次数:
484
////html[1]/body[1]/div[9]/div[1]/div[1]/div[1]/ul/li
截取规则Articles/Article[1]:选取属于Articles子元素的第一个Article元素。/Articles/Article[last()]:选取属于Articles子元素的最...
分类:
其他好文 时间:
2014-05-26 09:03:19
阅读次数:
260
//获得本周(本天)时间戳的起始和结束//本周星期一时间戳$monday = mktime(0, 0,
0, date("m",strtotime("last Monday")) , date("d",strtotime("last Monday")),
date("Y",strtotime("la...
分类:
Web程序 时间:
2014-05-26 07:26:50
阅读次数:
279
【题目】
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Determine if you are able to reach the last index.
For example:...
分类:
其他好文 时间:
2014-05-24 20:44:39
阅读次数:
221
http://poj.org/problem?id=1008Maya Calendar
Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 64607Accepted:
19908DescriptionDuring his last s....
分类:
其他好文 时间:
2014-05-23 06:52:43
阅读次数:
288
通过 JSON 字符串来创建对象First Name: Last Name:
分类:
Web程序 时间:
2014-05-23 04:16:00
阅读次数:
297
Determine whether an integer is a palindrome.
Do this without extra space.if use recursive, like check the first dig and last
dig, then remove them, c...
分类:
其他好文 时间:
2014-05-23 02:45:15
阅读次数:
230
【题目】
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Your goal is to reach the last index in the minimum number of ju...
分类:
其他好文 时间:
2014-05-22 17:02:20
阅读次数:
244
借助field_for可以生成表单来处理两个或更多模型对象的数据先看一个官方的例子,一个表单中有person和permission两个模型,其中每个person包含一个permission
First name: Last name: Admin : ...