2018年3月19日
摘要:
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework
阅读全文
posted @ 2018-03-19 18:30
谢晨锋
阅读(2003)
推荐(0)
2018年3月14日
posted @ 2018-03-14 15:37
谢晨锋
阅读(176)
推荐(0)
摘要:
import net.sf.json.JSONArray; //用于集合或数组 import net.sf.json.JSONObject; //用于对象 JSONObject object = new JSONObject(); 1.把java 对象列表转换为json对象数组,并转为字符串 JSO
阅读全文
posted @ 2018-03-14 15:30
谢晨锋
阅读(13985)
推荐(0)
摘要:
导包:mail.jar import java.util.Properties; import javax.mail.Message; import javax.mail.Message.RecipientType; import javax.mail.MessagingException; imp
阅读全文
posted @ 2018-03-14 15:26
谢晨锋
阅读(236)
推荐(0)
摘要:
StringBuffer是线性安全的,StringBuilder不是线性安全的 字符串的修改: stringBudile与stringBuiler提供了用于修改字符串内容的相关方法 String str=”努力学习JAVA”; StringBudile sb=new StringBuile(); a
阅读全文
posted @ 2018-03-14 15:22
谢晨锋
阅读(457)
推荐(0)
摘要:
import java.io.IOException; import javax.servlet.ServletOutputStream; import org.codehaus.jackson.JsonEncoding; import org.codehaus.jackson.JsonFactor
阅读全文
posted @ 2018-03-14 15:10
谢晨锋
阅读(1202)
推荐(0)
摘要:
import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; /** * 转码和解码 * @author wenyuan */ public class Sma
阅读全文
posted @ 2018-03-14 15:02
谢晨锋
阅读(2433)
推荐(0)
摘要:
import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** * MD5加密 * @author wenyuan */ public class MD5Encryption { priva
阅读全文
posted @ 2018-03-14 15:00
谢晨锋
阅读(184)
推荐(0)
2018年3月2日
摘要:
1.安装 JDK linux 和 win7 都是多用户的操作系统,所以配置环境变量的位置就说明了这个环境变量起作用的范围。如上 win7 我配置到了 bai 用户下,那么只有当 bai 用户登录的时候才能够使用java 环境。别的用户就用不到,当然如果你的配置是在系统变量上,那么这台计算机上所有的用
阅读全文
posted @ 2018-03-02 18:08
谢晨锋
阅读(501)
推荐(0)