文章列表
if("bzt".equals(tu)){
// 生成3D饼图
PiePlot3D plot = new PiePlot3D(getDataset());
plot.setToolTipGenerator(new StandardPieToolTipGenerator());
// 设置图片链接
plot.setURLGenerator(new StandardPieURLGenerator(
...
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* 系统设置参数的读取和设置
* @author CodeToMyLaw
*
*/
public class SystemPropertiesUtils {
private static Properties properties = ne ...
import java.util.Properties;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.NoSuchProviderException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail. ...
function BrowseFolder(){
try{
var Message = "请选择文件夹"; //选择框提示信息
var Shell = new ActiveXObject( "Shell.Application" );
var Folder = Shell.BrowseForFolder(0,Message,0x0040,0x11);//起始目录为:我的电脑
//var Folder = Shell.BrowseForFolder(0,Message,0); //起始目录为:桌面
...
/**
* 评论文档文件下载
* @return
* @throws Exception
*/
public String downloadfile()throws Exception{
try{
//存放文件的根: fileRoot = /DPIv5r1MNP_Review;
AppInfo appInfo = appInfoService.getAppInfoById(Integer.parseInt(appId));
String appName = appInfo.getAppName();
String s ...
package cn.hs.dpl.web.action;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.sql.Timestamp;
import org.quartz.JobExecutionContex ...
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www ...
package cn.hs.dpl.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.apache.log4j.Logger;
import org.apache.log4j.SimpleLayout;
import org.apache.lo ...