摘要: http://www.cnblogs.com/huyong/archive/2011/05/10/2041951.html#_Toc16275 阅读全文
posted @ 2011-08-05 16:44 时游 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 很多事情要做:一,找实习单位暑假不想流落街头发简历,学面试向周围的同学学习二,英语学习(英语很重要)六级考试(加把劲,事不过三)其他英文阅读拒绝任何中文电影三,学习网站设计(***)Struct项目实践Hibernate学习(视频+深入浅出hibernate+api)Spring学习(视频+api)整合项目实践Jsp+ajax+java学习重构 head firest ajax head first java ,head first 设计模式,thinking in java,代码之美,四,课程学习(快要考试了)网络安全(应付)JSP技术(注意)高级计算机网络(凑合吧)电子商务(凑合)中间件( 阅读全文
posted @ 2011-05-29 18:34 时游 阅读(307) 评论(0) 推荐(1) 编辑
摘要: 首先先了解什么是nginx:http://cxshun.iteye.com/blog/1535188图片来自其他从上图可以了解到整个集群的部署框架安装地址:http://www.iteye.com/topic/1125301nginx 配置后出现的问题:js,css,png...等显示不了?1,查看... 阅读全文
posted @ 2014-11-27 17:04 时游 阅读(625) 评论(0) 推荐(0) 编辑
摘要: 定义,作用,说明:Concurrency Control:并发控制,主要用于避免同一用户多次登录,重复登录以及包括相关的session管理--具体官网---》先看官网:http://docs.spring.io/autorepo/docs/spring-security/4.0.0.CI-SNAPS... 阅读全文
posted @ 2014-10-21 12:11 时游 阅读(7644) 评论(1) 推荐(0) 编辑
摘要: 先看官方文档:http://docs.spring.io/spring-security/site/docs/4.0.x/reference/htmlsingle/spring security4已经加入了注解的方式,但是为了比较清晰了解,还是使用了配置的方式。第一步:web.xml 加入拦截、 ... 阅读全文
posted @ 2014-10-15 16:26 时游 阅读(18842) 评论(2) 推荐(0) 编辑
摘要: 官网:http://docs.spring.io/spring-security/site/docs/4.0.x/reference/htmlsingle/定义:Spring Security是一个能够为基于Spring的企业应用系统提供声明式的安全访问控制解决方案的安全框架。它提供了一组可以在Sp... 阅读全文
posted @ 2014-10-14 17:22 时游 阅读(1326) 评论(0) 推荐(0) 编辑
摘要: 重定向输出:ls -l >lsoutput.txt>>将输出内容附加到一个文件中ps>>lsoutput.txt重定向输入:more<lsoutput.txt管道:ps | sort > pasort.outps| sort|moreps -xo comm | sort | uniq | grep -v sh | morecat mydata.txt | sort | uniq | >mydata.txtshell 脚本:查找含有posix字符串的文件,first#!/bin/shfor file in *do if grep -q posix 阅读全文
posted @ 2011-12-23 17:27 时游 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Using the keywordsBULKCOLLECTwith a query is a very efficient way to retrieve the result set. Instead of looping through each row, you store the results in one or more collections, in a single operation. You can use these keywords in theSELECTINTOandFETCHINTOstatements, and theRETURNINGINTOclause... 阅读全文
posted @ 2011-09-02 11:08 时游 阅读(701) 评论(0) 推荐(0) 编辑
摘要: 原文来自:http://www.cnblogs.com/bigshow/archive/2009/01/11/1373835.html如果表A的主关键字是表B中的字段,则该字段称为表B的外键,表A称为主表,表B称为从表。外键是用来实现参照完整性的,不同的外键约束方式将可以使两张表紧密的结合起来,特别是修改或者删除的级联操作将使得日常的维护工作更加轻松。这里以MySQL为例,总结一下3种外键约束方式的区别和联系。 这里以用户表和用户组表为例,这是一个典型的多对一关系,多个用户对应于一个用户组。 首先创建用户组表:创建用户组表create table t_group ( id int not nu 阅读全文
posted @ 2011-08-02 15:04 时游 阅读(265) 评论(0) 推荐(0) 编辑
摘要: java访问xml文XML code <?xml version="1.0" encoding="gbk"?> <Accounts><Account type="by0003"> <code>100001</code><pass>123</pass><name>李四</name> <money>1000000.00</money> </Account> <Account type=&qu 阅读全文
posted @ 2011-06-25 16:18 时游 阅读(177) 评论(0) 推荐(0) 编辑