`
andrew.yulong
  • 浏览: 171746 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
package com.zhangyulong.util; import java.security.Security; import java.util.Date; import java.util.Properties; import javax.mail.Authenticator; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.PasswordAuthentication; import javax.mail.Session; import javax.mail.Tra ...
package com.accp.util; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; public class EncodingFilter impleme ...
import java.io.UnsupportedEncodingException; public class Exchange {   public static String toCN(String value)   {     try     {       String cn = new String(value.getBytes("ISO-8859-1"), "gbk");       return cn;     }     catch (UnsupportedEncodingException e)     {       e.prin ...
---------------------------直连--------------------- DriverManager.registerDriver(new com.mysql.jdbc.Driver()); Connection connection=DriverManager.getConnection    ("jdbc:mysql://localhost:3306/test", "root", "880428"); return connection; ----------------------- ...
和大家见面了,本人言语突然很少,开门见山吧 package  cn.vetech.framework.util; import  java.io.BufferedReader; import  java.io.File; import  java.io.FileInputStream; import  java.io.FileOutputStream; import  java.io.IOException; import  java.io.InputStream; import  java.io.InputStreamReader; import  java.io.Outp ...
<html> <head> </head> <body>  <span style="cursor:hand" onclick="javascript:aa()">测试哈</span> </body> <script type="text/javascript">  function aa(){   if(confirm("确认要打开吗?"))   {    window.open("ddd.htm") ...
Global site tag (gtag.js) - Google Analytics