zoukankan      html  css  js  c++  java
  • Spring 搭建

    引jar包

        commons-logging-1.2.jar

      核心包
        spring-beans-3.2.16.RELEASE.jar
        spring-context-3.2.16.RELEASE.jar
        spring-core-3.2.16.RELEASE.jar
        spring-expression-3.2.16.RELEASE.jar

    创建资源文件 

      SpringConfig.xml

      资源文件里面的内容

      <?xml version="1.0" encoding="UTF-8"?>
      <beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.springframework.org/schema/beans
      http://www.springframework.org/schema/beans/spring-beans.xsd">

      <bean id="en" class="dao.User"> //实例化一个user对象  
      <property name="name">
      <value>hello word</value>
      </property>
      </bean>
    </beans>

    窗竹影摇书案上,野泉声入砚池中。 少年辛苦终身事,莫向光阴惰寸功
  • 相关阅读:
    char 转string
    博客,记忆的图谱。
    history
    openstack Icehouse发布
    数据库常用命令
    nagios
    screen
    openstack 流量控制
    sublime 3
    磁盘类型
  • 原文地址:https://www.cnblogs.com/qhantime/p/10745869.html
Copyright © 2011-2022 走看看