- 浏览: 171746 次
- 性别:
- 来自: 上海
最新评论
-
tangyuanjian:
这个request怎么赋值啊!
rails技巧之得到web应用中的web服务器地址和端口号 -
wangbaocai:
asp.net导出邮箱联系人列表,支持QQ邮箱、163邮箱、G ...
rails 导出邮箱联系人 -
andrew.yulong:
他默认有个guest角色啊
rails 权限控制 -
liucuan:
如果想过滤这个插件怎么过滤,比如我的index页面我想登录不登 ...
rails 权限控制 -
ayaga:
pt.afterTextEl.el.innerHTML = S ...
extJS控件之每页显示N条记录
文章列表
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 ...
- 2007-09-25 13:06
- 浏览 827
- 评论(0)
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 ...
- 2007-09-25 12:59
- 浏览 1075
- 评论(0)
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 ...
- 2007-09-25 12:59
- 浏览 763
- 评论(0)
---------------------------直连---------------------
DriverManager.registerDriver(new com.mysql.jdbc.Driver());
Connection connection=DriverManager.getConnection
("jdbc:mysql://localhost:3306/test", "root", "880428");
return connection;
----------------------- ...
- 2007-09-25 12:58
- 浏览 996
- 评论(0)
和大家见面了,本人言语突然很少,开门见山吧
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 ...
- 2007-09-25 12:55
- 浏览 1462
- 评论(0)
<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") ...
- 2007-09-25 12:53
- 浏览 1879
- 评论(0)