![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
冰冻的心1
这个作者很懒,什么都没留下…
展开
-
java 开源项目大全
http://www.open001.com/projectDetail.do?projectId=1892&channelId=1原创 2014-02-27 22:31:14 · 99 阅读 · 0 评论 -
删除集合中重复的数据
方法一:/** * 功能说明:移除掉list集合中 重复的数据,保持原来的的位置 * @param list */public static void removeDuplicateWithOrder(List list){ Set set = new HashSet(); List newList = new ...原创 2014-03-11 11:54:06 · 98 阅读 · 0 评论 -
关于上传文件报file找不到
HTTP Status 400 - Required MultipartFile parameter 'file' is not present这个主要原因来自与配置不匹配:页面为: controller 为:public String icon_upload(Map map,@RequestParam("file") MultipartFile file)...原创 2014-04-01 09:59:33 · 694 阅读 · 0 评论 -
使用decorator模式对jsp页面布局
[size=medium]使用decorator模式对jsp页面进行布局:步骤:1.web.xml: sitemesh com.opensymphony.sitemesh.webapp.SiteMeshFilter sitemesh /* 2.新建decorator.xml文件 配置需布局对象与不需要布局...原创 2014-08-25 13:12:33 · 641 阅读 · 0 评论 -
Java调用淘宝Ip库返回城市
[size=medium]/** *功能说明:根据Ip获取设备归属地 * @param ip * @return */ public String getIP(String ip) { String city = ""; try { DefaultHttpClient hc = new DefaultHttpClient(); InputSt...原创 2014-04-16 23:17:07 · 123 阅读 · 0 评论 -
Java 操作FTP
package com.smartelevatorguard.hot.common.utils;import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.commons.net.ftp.FTP; import org.apache....原创 2016-06-23 12:40:40 · 130 阅读 · 0 评论