如何自学Struts2之Struts2验证[视频]
之前写了一篇“打算做一个视频教程探讨如何自学计算机相关的技术”,优酷上传不了,只好传到百度云上:
http://pan.baidu.com/s/1kTDsa95
这节课讲的过程中碰到了些问题,同时处理问题费了些时间,有问题可以直接回复这篇文章。
错误1:http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd - Class: sun.net.www.protocol.http.HttpU
解...
分类:
其他 时间:
2015-03-15 23:43:26
收藏:
0 评论:
0 赞:
0 阅读:
450
64位BASM学习随笔中的很多原则问题不仅仅适应Delphi,也适用其它64位程序语言,因为64位方式下,程序架构都是统一的。...
分类:
其他 时间:
2015-03-15 23:43:15
收藏:
0 评论:
0 赞:
0 阅读:
640
导航
Bootstrap 中的导航组件都依赖同一个 .nav 类,状态类也是共用的。改变修饰类可以改变样式。
标签页
注意 .nav-tabs 类依赖 .nav 基类
代码如下
bootstrap导航
Home
Profile
Messages
效果图
...
分类:
其他 时间:
2015-03-15 23:42:55
收藏:
0 评论:
0 赞:
0 阅读:
623
题目链接:Unique Paths
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is try...
分类:
其他 时间:
2015-03-15 23:42:05
收藏:
0 评论:
0 赞:
0 阅读:
471
题目链接:Rotate List
Given a list, rotate the list to the right by k places, where k is non-negative.
For example:
Given 1->2->3->4->5->NULL and k = 2,
return 4->5->1->2->3->NULL.
这道题的要求是向右旋转链表...
分类:
其他 时间:
2015-03-15 23:41:55
收藏:
0 评论:
0 赞:
0 阅读:
518
题目链接:Unique Paths II
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and empty space is marked as 1 and 0 resp...
分类:
其他 时间:
2015-03-15 23:41:55
收藏:
0 评论:
0 赞:
0 阅读:
463
题目链接:Minimum Path Sum
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move ei...
分类:
其他 时间:
2015-03-15 23:41:27
收藏:
0 评论:
0 赞:
0 阅读:
365
题目链接:Valid Number
Validate if a given string is numeric.
Some examples:
"0" => true
" 0.1 " => true
"abc" => false
"1 a" => false
"2e10" => true
Note: It is intended for the problem stat...
分类:
其他 时间:
2015-03-15 23:41:15
收藏:
0 评论:
0 赞:
0 阅读:
306
题目描述 Description
一个大小为N(N<=17)的质数环是由1到N共N个自然数组成的一个数环,数环上每两个相邻的数字之和为质数。如下图是一个大小为6的质数环。为了方便描述,规定数环上的第一个数字总是1。如下图可用1 4 3 2 5 6来描述。若两个质数环,数字排列顺序相同则视为本质相同。现在要求你求出所有本质不同的数环。输入描述 Input Description只有一个数N,表示需求...
分类:
其他 时间:
2015-03-15 23:41:05
收藏:
0 评论:
0 赞:
0 阅读:
452
一般对于后台界面都是采用BorderLayout进行布局的。BorderLayout也就是将界面分成五块,如下图所示,分别有:North、East、South、West、Center其中比较特殊的是Center这块区域,它是不固定的,会随着四块区域的变化而做出相应的调整。比如将West向左缩小10px,那么Center则会向West方向扩张10px。其实这个easyUI已经帮我们实现好了,我们只需要...
分类:
其他 时间:
2015-03-15 23:40:55
收藏:
0 评论:
0 赞:
0 阅读:
1518
关于项目中lua任务(某些没弄懂,但lua上耗费时间有点长了不看了)这段时间看了lua语法和项目中lua应用1.在lua中注册c库,在lua5.2中好像都是注册c库,相当于在lua中定义一个table,key是函数名字,value是函数指针m_spLuaState->RegLib("game", f...
分类:
其他 时间:
2015-03-15 23:40:06
收藏:
0 评论:
0 赞:
0 阅读:
372
软件测试就是利用测试工具按照测试方案和流程对产品进行功能和性能测试,甚至根据需要编写不同的测试工具,设计和维护测试系统,对测试方案可能出现的问题进行分析和评估。执行测试用例后,需要跟踪故障,以确保开发的产品适合需求。 软件测试工作是一个系统而复杂的工程,软件测试的目的就是确保软件的质量、确...
分类:
其他 时间:
2015-03-15 23:39:45
收藏:
0 评论:
0 赞:
0 阅读:
385
Xcode的ARC机制小结
分类:
其他 时间:
2015-03-15 23:39:35
收藏:
0 评论:
0 赞:
0 阅读:
248
思路类似快速米,为了防止数相乘超出long long的范围。复杂度再加一个log(n);很实用的东西:ll mut(ll a,ll b){ ll res=0; while (b) { if (b&1) res=(res+a)%p; a=(a+a)%p; b>>=1; } return res;}ll...
分类:
其他 时间:
2015-03-15 23:39:15
收藏:
0 评论:
0 赞:
0 阅读:
324
curr_menunot_curr"> {$vo.typeid|url=lists,###}{$vo.url}" data-transition="slidedown" data-ajax="false"> {$vo.typename} 备注:第2行里的c...
分类:
其他 时间:
2015-03-15 23:39:05
收藏:
0 评论:
0 赞:
0 阅读:
372
遇到一个数据处理自动化的问题,于是打算开发一个基于excel的小工具。在业余时间一边自学一边实践,抽空把一些知识写下来以备今后参考,因为走的是盲人摸象的野路子,幼稚与错误请多包涵。开发环境基于VSTO,具体配置:visual studio 2010,VB .Net,excel 2007,文档级别的定...
分类:
其他 时间:
2015-03-15 23:38:35
收藏:
0 评论:
0 赞:
0 阅读:
353
znode以某种方式发生变化时,“观察”(watch)机制可以让客户端得到通知.可以针对ZooKeeper服务的“操作”来设置观察,该服务的其他操作可以触发观察. 实现Watcher,复写process方法,处理收到的变更 /** * Watcher Server,处理收到的变更 ...
分类:
其他 时间:
2015-03-15 23:38:05
收藏:
0 评论:
0 赞:
0 阅读:
445
package com.baidu.baidulocationdemo;import com.baidu.location.LocationClient;import com.baidu.location.LocationClientOption;import com.baidu.location....
分类:
其他 时间:
2015-03-15 23:37:35
收藏:
0 评论:
0 赞:
0 阅读:
394
记录一些我用过的命令 1 sudo apt-get update 3 sudo apt-get install vim 5 vim /etc/apt/sources.list 6 cd /etc/apt/ 8 sudo vim /etc/apt/sources...
分类:
其他 时间:
2015-03-15 23:37:25
收藏:
0 评论:
0 赞:
0 阅读:
393
下面简单列出请求过程中比较重要的步骤: 1、在浏览器里输入网址,Enter,浏览器向DNS发送请求,查找域名对应IP 2、浏览器根据返回的请求域名IP,加上请求端口(默认80),和请求资源(资源位置为/或者index.html之类的),组装请求后浏览器发送请求 从输入URL到页面加载...
分类:
其他 时间:
2015-03-15 23:36:25
收藏:
0 评论:
0 赞:
0 阅读:
321