接前文的注册模块,本篇是登录模块。主要包括登录主界面,和登录相关编写的LoginAction、LoginDao和LoginService。以及配置的Filter。下面按逻辑顺序记录详细过程和代码:一、在前文的index目录点击登录按钮后,通过javascript跳转至LoginAction。
function login(){
var th = document.form1;
if(...
分类:
数据库 时间:
2014-06-20 10:53:49
阅读次数:
385
By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23.
3
7 4
2 4 6
8 5 9 3
That is, 3 + 7 + 4 + 9 = 23.
Find th...
分类:
其他好文 时间:
2014-06-07 13:45:25
阅读次数:
189
title:
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
What is the smallest positive number that is
evenly divisible by all of the nu...
分类:
其他好文 时间:
2014-06-07 01:27:37
阅读次数:
229
点击打开链接题意:集合S支持一下四种操作: INSERT(S,x) :
假设S中没有x,则插入xDELETE(S,x): 假设S中有x,则删除xK-TH(S): 输出S中第K小的数COUNT(S,x):
统计S中小于x的数有多少个一共同拥有Q(1 ≤ Q ≤ 200000)次操作。Tr...
分类:
其他好文 时间:
2014-06-06 21:55:34
阅读次数:
277
新买的香港云服务器,系统只能在商家的控制台上安装。
系统和硬盘分开的,根目录空间只有10G。需要重新设置相关目录的大小,如:/usr、/var、/home等。
以下是自己的解决方法小计。
一、初始的分区情况(外加一个300G未分区的硬盘):
[root@cloud ~]# df -TH
文件系统 类型 容量 已用 可用 已用%% 挂载点
/dev/mapper/vg...
分类:
系统相关 时间:
2014-06-03 02:35:20
阅读次数:
343
添加支持(即jar包)后的步骤为:(1)编写资源文件①英文资源文件,命名为application.en.propertiesindex.title=OnNetBookManagerindex.userName=userNameindex.passWord=passWordindex.submit=submitindex.reset=resetindex.language.english=Englishindex.language.zh=Chinese..
分类:
其他好文 时间:
2014-06-02 16:35:04
阅读次数:
250
Crashing RobotsDescriptionIn a modernized
warehouse, robots are used to fetch the goods. Careful planning is needed to
ensure that the robots reach th...
分类:
其他好文 时间:
2014-06-02 13:13:23
阅读次数:
283
问题:
给定一个字符串数组words,一个整数L,将words中的字符串按行编辑,L表示每行的长度。
要求:
1)每个单词之间至少是有一个空格隔开的。
2)最后一行每个单词间只间隔一个空格, 最后一个单词后不足L长度的用空格填充。
3)除最后一行外,其他行进行填充长度的空格要均分,不能均分的,将余数代表的空格数依次填充在行左。
For example,
words: ["Th...
分类:
其他好文 时间:
2014-06-01 15:43:03
阅读次数:
297
Qt作为一种基于 C++ 的跨平台 GUI
系统,能够提供给用户构造图形用户界面的强大功能。为了满足用户构造复杂图形界面系统的需求,Qt提供了丰富的多线程编程支持。从 2.2
版本开始,Qt主要从下面三个方面对多线程编程提供支持:一、构造了一些基本的与平台无关的线程类;二、提交用户自定义事件的 Th...
分类:
编程语言 时间:
2014-05-31 19:24:32
阅读次数:
343
今天,在LinuxSLC5.3上安装了中文输入法,过程如下:原文出自【比特网】,转载请保留原文链接:http://soft.chinabyte.com/os/102/11459102.shtml1.安装中文字体库
yum install "font-chinese" 2.安装scim输入法 yum....
分类:
系统相关 时间:
2014-05-30 22:07:10
阅读次数:
407