Java Web的页面跳转分服务器跳转和客户端跳转:服务器端跳转 的特点是:跳转之后浏览器的地址栏不会发生任何变化,在使用rquest属性范围时,能将request属性保存到跳转页。执行到跳转语句则会立即跳转。 例如: 或者: //传递参数 ...
分类:
编程语言 时间:
2015-09-08 12:01:12
阅读次数:
198
?For the End User, the Interface Is the SystemVinayak Hegde
THERE ARE Too MAny good pRoduCTS hidden behind bad user-interfaces. The end user will access the system through its user interface. If the q...
分类:
其他好文 时间:
2015-09-08 09:43:43
阅读次数:
160
Just use binary search to find the first bad version.The code is as follows. 1 // Forward declaration of isBadVersion API. 2 bool isBadVersion(int ver...
分类:
其他好文 时间:
2015-09-07 22:30:00
阅读次数:
212
1.新建空文档,写入shell命令:#!/bin/sh cd /home/plg./usb第一行一定要有,一开始参考网上写的#!/usr/bin/sh,会提示错误bash: ./file.sh: /usr/bin/sh: bad interpreter: No such file or ...
分类:
系统相关 时间:
2015-09-06 12:42:47
阅读次数:
145
1:判空 // Bad if (variable.equals("literal")) { ... } // Good if ("literal".equals(variable)) { ... }防止偶发的空指针错误 2:检查NULL和lenght 无论如何,只要你有一个集合、数组等,请确保它存在,并且...
分类:
编程语言 时间:
2015-09-06 11:18:02
阅读次数:
138
1 /* 2 如果两个字符串的字符一样,但是顺序不一样,被认为是兄弟字符串, 3 问如何在迅速匹配兄弟字符串(如,bad和adb就是兄弟字符串)。 4 */ 5 #include 6 using namespace std; 7 8 int isBroStr(char *...
分类:
其他好文 时间:
2015-09-03 21:47:04
阅读次数:
179
题目连接http://poj.org/problem?id=2377Bad CowtractorsDescriptionBessie has been hired to build a cheap internet network among Farmer John's N (2 #include#...
分类:
其他好文 时间:
2015-08-31 17:16:08
阅读次数:
203
RobberiesProblem DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end,...
分类:
其他好文 时间:
2015-08-29 12:32:20
阅读次数:
202
使用CentOS连接U盘时,刚连接时,可能会报一下错误:
Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful inf...
分类:
数据库 时间:
2015-08-28 09:37:06
阅读次数:
983
Bad CowtractorsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 12058Accepted: 5008DescriptionBessie has been hired to build a cheap internet ...
分类:
其他好文 时间:
2015-08-27 22:44:03
阅读次数:
242