- 浏览: 40162 次
- 性别:
- 来自: 北京
-
最新评论
-
Zhang987526341:
楼主你好,我复制您的代码后,在test类里面运行出现:java ...
java发送邮件 -
Wentasy:
不错的文章,学习了。
Java定时器
文章列表
public class Mysql
{
Mysql()
{
}
public void Put() throws IOException{
Date date=new Date();
SimpleDateFormat ff=new SimpleDateFormat("yyyyMMddhhmmss");
String da=ff.format(date);
String name=da+"back.sql";
String command = "my ...
package com.manze.stu;
import java.io.BufferedReader;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
public class BackupMysqlDb {
/**
* www.itlife365.com
* 完整备份MySQL的某个数据库
* mysqldump –h host ...
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) throws FileNotFoundException, IOException {
ImportElecForm fm = (ImportElecForm) form;
FormFile fj=fm.getFile();
String fname=fj.getFileName().t ...