导航

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 61 下一页

2014年10月13日

摘要: Spring MVC提供了一种方便的Bean填充方式:@Controllerpublic class CmsChannelController extends AbstractController{ public String saveAction(Model model, ... 阅读全文

posted @ 2014-10-13 17:40 eastson 阅读(164) 评论(2) 推荐(0)

2014年9月26日

摘要: 情形:两个表,cms_mode是主表,cms_model_field是子表,cms_model_field的model_id字段关联到cms_model的主键。## Source for table cms_model#DROP TABLE IF EXISTS `cms_model`;CREATE ... 阅读全文

posted @ 2014-09-26 09:22 eastson 阅读(2703) 评论(1) 推荐(0)

2014年9月23日

摘要: 下面的代码在JAVA中是不可以的:import java.util.*;public class Test { public static void main(String[] args) { List str = new ArrayList(); printLis... 阅读全文

posted @ 2014-09-23 10:13 eastson 阅读(701) 评论(0) 推荐(0)

2014年9月20日

摘要: 1. 打开preferences,找到Java > Editor > Templates。2. 点击"New",新建一个模版:3. 打开Java文件,输入模版名称的前面两个字母xs,然后按ALT+/,就可以看到模版提示: 阅读全文

posted @ 2014-09-20 11:52 eastson 阅读(227) 评论(0) 推荐(0)

2014年9月19日

摘要: 情形:两个表,my_site和my_site_company,通过主键site_id唯一关联。my_site的主键是自动增加,my_site_company的主键依赖于my_site。## Source for table my_site#DROP TABLE IF EXISTS `my_site`... 阅读全文

posted @ 2014-09-19 16:12 eastson 阅读(564) 评论(0) 推荐(0)

2014年9月4日

摘要: 进入工作空间目录下的.metadata\.plugins\org.eclipse.wst.server.core子目录,找到servers.xml文件,编辑它,找到start-timeout这一行,把45改成你想要的值,单位是秒。 阅读全文

posted @ 2014-09-04 11:55 eastson 阅读(453) 评论(0) 推荐(0)

2014年9月3日

摘要: spring通过在web.xml 中配置ContextLoaderListener 来加载context配置文件,在DispatcherServlet中也可以来加载spring context配置文件,那么这两个有什么区别呢。ContextLoaderListener中加载的context成功后,s... 阅读全文

posted @ 2014-09-03 14:07 eastson 阅读(186) 评论(0) 推荐(0)

摘要: 配置applicationContext.xml时经常会看到:它的作用是隐式地向Spring容器注册AutowiredAnnotationBeanPostProcessor、CommonAnnotationBeanPostProcessor、PersistenceAnnotationBeanPost... 阅读全文

posted @ 2014-09-03 11:58 eastson 阅读(140) 评论(0) 推荐(0)

2014年9月2日

摘要: Hibernate关联关系映射目录│├─单向关联│ ├─一对一外键单向关联│ ├─一对一主键单向关联│ ├─一对一连接表单向关联│ ├─一对多外键单向关联│ ├─一对多连接表单向关联│ ├─多对一外键单向关联│ ├─多对一连接表单向关联│ └─多对多单向关联└─双向关联 ├─一对一外键双向关联 ├─... 阅读全文

posted @ 2014-09-02 16:06 eastson 阅读(129) 评论(0) 推荐(0)

摘要: 地址:https://github.com/jagregory/shiro-freemarker-tags下载该jar包 或者源代码文件复制到自己工程的lib下或者package中如果使用spring MVC,请看http://www.woxplife.com/articles/473.html如果... 阅读全文

posted @ 2014-09-02 11:49 eastson 阅读(1011) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 61 下一页