1.instantiate bean对象实例化 2.populate properties 封装属性 3.如果Bean实现BeanNameAware 执行 setBeanName 4.如果Bean实现BeanFactoryAware 或者 ApplicationContextAware 设置工厂 s ...
分类:
编程语言 时间:
2018-07-25 20:45:25
阅读次数:
137
开发环境: jdk 1.8 tomcat 7 eclipse4.8 spring 4.3 mysql 5.1.29 myBatis 3.4 准备工作(创建数据表): 1.先整合springmvc 1.1 搭建目录,导入jar包 1.2 在 web.xml 中配置核心控制器,在spring-mvc-4 ...
分类:
其他好文 时间:
2018-07-25 19:03:59
阅读次数:
215
System.getProperty()参数大全 # java.version Java Runtime Environment version # java.vendor Java Runtime Environment vendor # java.vendor.url... ...
分类:
其他好文 时间:
2018-07-25 16:20:41
阅读次数:
137
1、使用root用户 su root 2、备份sources.list cp /etc/apt/sources.list /etc/apt/sources.list.bak 3、替换/etc/apt/sources.list deb-src http://archive.ubuntu.com/ubu ...
分类:
系统相关 时间:
2018-07-25 16:16:21
阅读次数:
193
在 Java 中, java.lang.String 可用于表示长字符串(长度超过 255), 字节数组 byte[] 可用于存放图片或文件的二进制数据. 此外, 在 JDBC API 中还提供了 java.sql.Clob 和 java.sql.Blob 类型, 它们分别和标准 SQL 中的 CL ...
分类:
Web程序 时间:
2018-07-25 12:45:54
阅读次数:
187
1.在eclipse中安装tomcat8.5时,报错: The Apache Tomcat installation at this directory is version 8.5.6. A Tomcat 8.0 installation is expected. 2.解决办法: Windows中 ...
分类:
Web程序 时间:
2018-07-23 19:51:49
阅读次数:
1049
<template> <div> <textarea style="display:none" id="editor_content" name="contentHtml"></textarea> <script id="editor" type="text/plain"></script> </d ...
分类:
其他好文 时间:
2018-07-23 12:48:23
阅读次数:
228
util:properties和context:property-placeholder标签都可以用来获取外部配置文件中的内容 1、util:properties 它是以声明bean方式来使用,创建了一个bean,下面使用的时候通过SpEL表达式#{}获取bean的属性。 需要注意,这种方式需要在s ...
分类:
编程语言 时间:
2018-07-23 10:58:32
阅读次数:
160
While traditional Vue components require a data function which returns an object and a method object with your handlers, vue-class-componentflattens c ...
分类:
其他好文 时间:
2018-07-22 18:45:32
阅读次数:
163
1.新建一个Maven Project 2.选择项目路劲 3.选择Web App 4.添加项目名称 5.右击“Properties”-》“Java Build Path”-》“Source”,发现缺少两个路径 解决方法:现将原来两个缺少的路径删除,再重新添加,再调整下位置 6.打开pom.xml文件 ...
分类:
编程语言 时间:
2018-07-22 16:59:13
阅读次数:
157