IpText

作者在 2011-08-25 15:13:13 发布以下内容
import  org.springframework.web.*;
public  IpText{
       public  static  void  main(String args[]){
          BeanFactory bf = new ClassPathXmlApplicationContext("applicationContext.xml");
          Object  b  = bf.getBeans("Name);
          System.out.println(b.toString());
         }
}
applicationContext.xml
<beans>
<bean  id=""  class=""  scope="">
   <property  name=""  value=""/>
</bean>
</beans>
//以上是spring的使用步骤 不知道我这正确吗?请各位大侠请教
 
spring | 阅读 639 次
文章评论,共0条
游客请输入验证码
浏览9467次
文章归档
最新评论