0 web.xml中注册的CharacterEncodingFilter 上面的配置相当于servlet中的 request.setCharacterEncoding("UTF-8")。 1 post请求 通过jquery.ajax的post请求,不进行request.setCharacterEnc ...
分类:
编程语言 时间:
2017-08-27 15:58:04
收藏:
0 评论:
0 赞:
0 阅读:
227
using System; using System.Net; using System.Net.Mail; using System.Text; namespace ConsoleApplication { class Program { static void Main(string[] arg... ...
分类:
Windows开发 时间:
2017-08-27 15:57:54
收藏:
0 评论:
0 赞:
0 阅读:
216
XML格式为 需求:将另一段同样格式xml的Item插入到现在这个Item下面 这样 代码: ...
分类:
其他 时间:
2017-08-27 15:57:37
收藏:
0 评论:
0 赞:
0 阅读:
332
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:
Windows开发 时间:
2017-08-27 15:57:24
收藏:
0 评论:
0 赞:
0 阅读:
360
using System; using System.Runtime.InteropServices; using System.Windows.Forms; namespace ConsoleApplication1 { class Program { public struct POINT { ... ...
分类:
Windows开发 时间:
2017-08-27 15:57:04
收藏:
0 评论:
0 赞:
0 阅读:
288
按照何种开发模型? V模型:项目需求 >概要设计(功能模块) >详细设计(页面的设计,数据库的设计) >编码(框架的搭建,功能的实现) >测试(单元测试,黑盒测试,性能测试,回归测试) >发布(war包,jar包) >项目评审 >项目完成 敏捷开发:快速迭代 数据库的设计的时候: 1.提取功能模块的 ...
分类:
其他 时间:
2017-08-27 15:56:51
收藏:
0 评论:
0 赞:
0 阅读:
250
工具:myeclipse+oracle11g 1、首先新建一个jsp页面。 2、在src目录下新建实体类User.java 3、创建BaseDao用来链接数据库 4、在pl/sql中创建存储过程 5、创建UserDao实现查询用户 6、在jsp页面调用 6、启动服务器,在浏览器中输入 http:// ...
分类:
数据库技术 时间:
2017-08-27 15:56:31
收藏:
0 评论:
0 赞:
0 阅读:
384
using System; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { int a = 5; unsafe { int* p... ...
分类:
Windows开发 时间:
2017-08-27 15:56:18
收藏:
0 评论:
0 赞:
0 阅读:
249
通过使用 position 属性,我们可以选择 4 种不同类型的定位,这会影响元素框生成的方式。 position 属性值的含义: 提示:相对定位实际上被看作普通流定位模型的一部分,因为元素的位置相对于它在普通流中的位置。 实例 本例把元素位置由相对改为绝对: <html> <head> <styl ...
分类:
Web开发 时间:
2017-08-27 15:56:05
收藏:
0 评论:
0 赞:
0 阅读:
187
using System; namespace ConsoleApplication { class Program { static void Print(int a, int b) { Console.Write(a + b); } static void Print(string a... ...
分类:
Windows开发 时间:
2017-08-27 15:55:50
收藏:
0 评论:
0 赞:
0 阅读:
223
内部类 00.成员内部类 可以访问外部类的所有属性和方法! 01.局部内部类 类被定义在一个方法体或者作用域中! 特点:仅限于方法体中内使用,可以理解成局部变量! 02.匿名类部类 03.静态内部类 00.在内部类上加static 01.不依赖于外部类,可以直接new 02.不能访问外部类的非静态方 ...
分类:
其他 时间:
2017-08-27 15:55:23
收藏:
0 评论:
0 赞:
0 阅读:
257
jquery validate是本人用过的最好用的验证组件,但其文档写的真是不敢恭维,现将一些常见用法总结如下(持续更新)。 1. js触发表单验证 2. 不用form的submit提交,用js提交 ...
分类:
Web开发 时间:
2017-08-27 15:55:10
收藏:
0 评论:
0 赞:
0 阅读:
222
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:
Windows开发 时间:
2017-08-27 15:54:52
收藏:
0 评论:
0 赞:
0 阅读:
219
一、cookie和sessioncookie和session都是为了弥补http协议的无状态特性,对服务端来说无法知道两次http请求是否来自同一个用户,利用cookie和session就可以让用户只登录一次,服务就知道某个请求是否需要重新登录。cookie是保存在客户端,session是存在服务器 ...
分类:
其他 时间:
2017-08-27 15:54:43
收藏:
0 评论:
0 赞:
0 阅读:
236
1 Clone Graph 1 copy ervery nodes by bfs 2 add neighbors public UndirectedGraphNode cloneGraph(UndirectedGraphNode node) { if (node == null) { return ...
分类:
其他 时间:
2017-08-27 15:54:27
收藏:
0 评论:
0 赞:
0 阅读:
271
Bomb Game Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5647 Accepted Submission(s): 2036 Prob ...
分类:
其他 时间:
2017-08-27 15:54:13
收藏:
0 评论:
0 赞:
0 阅读:
256
改远端url的命令git remote set-url origin xxx.git 改远端url的命令git remote set-url origin xxx.git ...
分类:
其他 时间:
2017-08-27 15:53:57
收藏:
0 评论:
0 赞:
0 阅读:
227
using System; namespace ConsoleApplication { class Program { static void Main(string[] args) { //int[] a=new int[3]; //一维数组 int[,] a = new int[3,3]... ...
分类:
编程语言 时间:
2017-08-27 15:53:44
收藏:
0 评论:
0 赞:
0 阅读:
270
进程与程序的区别 程序只是一堆代码,进程指的是程序的运行过程 并发与并行的区别 比如一台计算机有4个CPU,然后分别运行了4个程序,这种叫做并行。 当一个CPU要运行4个程序,叫并发。 如何实现单核的并发效果: 例如:某人正在做饭,洗衣服,拖地,首先他要先烧水,在烧的过程中,他决定去洗衣服,把衣服放 ...
分类:
系统服务 时间:
2017-08-27 15:53:29
收藏:
0 评论:
0 赞:
0 阅读:
239
通过学习java的一二章对java的程序设计和程序设计环境有了了解。而老师所提出的反转课堂教学法对我的课前预习和课后复习有了更高的要求。通过第一章的学习,Java是一种面向对象的语言,它的重点放在了数据和对象的接口上。并且java中没有指针运算,头文件,结构,联合,操作符重载,虚基类等。Java同时 ...
分类:
编程语言 时间:
2017-08-27 15:53:15
收藏:
0 评论:
0 赞:
0 阅读:
210