- 浏览: 368208 次
- 性别:
- 来自: 北京
最新评论
-
verytiny:
tar -czPf t.tar.gz /www/wwwroot ...
tar 打包压缩目录 -
verytiny:
http://www.multilingual.com/
相关站点 -
verytiny:
查看版本
#lsb_release -a
linux 版本 -
chengji518:
我的也出现同样的问题,项目运行没有问题,在别人的机子上也不报, ...
为什么eclipse里的项目突然都有红x出现?再部署就发现程序报错404 -
zhengqxtom:
我的IREPORT3.76一打开就乱吗不知咋回事?我的系统是X ...
iReport乱码解决
文章列表
配置 /etc/profile
export JAVA_HOME=/usr/java/jdk1.5.0_03
export CATALINA_HOME=/usr/local/tomcat
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:$CATALINA_HOME/common/lib/aspectjrt.jar:$CATALINA_HOME/common/lib/commons-dbcp-1.2.1.jar:$CATALINA_HOME/common/lib/mysql-connector- ...
- 2007-05-15 15:24
- 浏览 1493
- 评论(1)
package mail;
import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;
/**Authenticator接口实现类 :send Mail 的 session 中用到 */
public class AuthenticatorImpl extends Authenticator {
private String name;
private String password;
public AuthenticatorImpl() {
super();
}
public Authent ...
- 2007-05-09 15:51
- 浏览 1903
- 评论(0)
MailDao.java
package mail.dao;
import mail.domain.MailBean;
public interface MailDao {
Boolean send(MailBean mail);
}
MailJdbcDao.java
package mail.jdbc;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Date;
import java.util.Properties;
import javax.activa ...
- 2007-04-27 14:45
- 浏览 1403
- 评论(1)
Mailservice.java
package mail.service;
import mail.dao.MailDao;
import mail.domain.Employee;
import mail.domain.MailBean;
import mail.jdbc.MailJdbcDao;
public class MailService {
private static MailService mailService;
public static MailDao md = new MailJdbcDao();
/** 单例模式 */
public static MailSe ...
- 2007-04-27 14:27
- 浏览 1276
- 评论(0)
如何使用javamail
- 博客分类:
- J2EE
Mailbean.java
package mail.domain;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
public class MailBean implements Serializable {
private static final long serialVersionUID = 7874212468830537556L;
/** 发件人 */
private String addresser;
/** 收件人集合 */
private Arra ...
- 2007-04-27 14:20
- 浏览 1310
- 评论(0)
newmail.jsp //写邮件ui
<%@ page contentType="text/html; charset=gb2312" language="java"
import="org.apache.commons.lang.StringUtils,
mail.domain.*,
mail.service.*,
java.util.*,java.io.*" %>
<%@ include file="init.jsp"%>
<html>
<head>
&l ...
- 2007-04-27 14:15
- 浏览 1392
- 评论(0)
backup
c:>mysqldump -h localhost -u admin -ppassword db_name>c:\back.sql
restore
c:>mysql -h localhost -u admin -ppassword db_name<c:\back.sql
- 2007-04-27 13:48
- 浏览 1431
- 评论(0)