![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
TimeLine of Java
文章平均质量分 79
persaidon
这个作者很懒,什么都没留下…
展开
-
[Spring][Bean]Spring配置文件、属性注入、从IOC容器获取实例
1. Bean a. ApplicationContex 在初始化上下文的时候就实例化所有单利的Bean; b. 加载配置文件的方法:ClassPathXmlAppliactionContex(“application.xml”); ApplicationContex: 2.Spri原创 2015-05-23 13:55:48 · 531 阅读 · 0 评论 -
[Exception Shoot]-NullPointerException when uploading a file(struts文件上传)
环境:SSH要实现功能:在工程添加一个文件上传功能,,已经做了中文字符处理、文件大小处理。Action代码:private File file;private String contentType;private String fileName; public String fileUpload() throws原创 2015-06-05 18:49:03 · 479 阅读 · 0 评论