ITeye博客

Spring

共 1 篇文章

Spring入门(1)—HelloWorld

我用的是RAD来开发的。其他的应该都是一样的。 1.建立一个新的Project。 2.右键点新建的Project->属性->buildPath->外部Jar引入 选择Spring的JAR包引入。 3.配置Spring。在web.xml中加入Spring的配置,如下: [code="xml"] contextConfigLocation /WEB-INF/applicationContext.xml org.springframework.web.context.ContextLoaderListener [/code] 4.applicationContext.xml。在WEB-INF下放a…

2010-01-25 19:15 · Spring · Spring · XML · Web · Bean