n rel="diff-b1388a3bd42353dc081bb599dd41e8d0614ecc48R53">53
		<dict>
54
			<key>hash</key>
55
			<data>
56
			ml1aFmvIp3pyWmz+TlbmJANddGc=
31 57
			</data>
32 58
			<key>hash2</key>
33 59
			<data>
34
			RGMhrUp5oig5YKqu5IYeQnLPy8G6lXASGnMuvEXt4HE=
60
			sNp26DZ7OwnZpkOGr8F0nNsLBDmb/8sEXgxegYSiqLU=
35 61
			</data>
36 62
		</dict>
37 63
		<key>Modules/module.modulemap</key>

+ 3 - 1
IPUFrameworks/IPUSocialComponent.framework/Headers/IPUSocial.h

@ -15,7 +15,7 @@
15 15
/**
16 16
 第三方平台注册
17 17
18
 @param appID 第三方平台AppID
18
 @param appID 第三方平台AppID/AppKey
19 19
 @param platform 第三方平台
20 20
 @return 是否注册成功
21 21
 */
@ -98,4 +98,6 @@
98 98
            scene:(IPUSocialScene)scene
99 99
       completion:(IPUSocialCompletion)completion;
100 100
101
+ (void)shareTextBySystem:(NSString *)content;
102
101 103
@end

二進制
IPUFrameworks/IPUSocialComponent.framework/IPUSocialComponent


二進制
IPUFrameworks/IPUSocialComponent.framework/Info.plist


+ 4 - 4
IPUFrameworks/IPUSocialComponent.framework/_CodeSignature/CodeResources

@ -6,7 +6,7 @@
6 6
	<dict>
7 7
		<key>Headers/IPUSocial.h</key>
8 8
		<data>
9
		bhlP2+PWNsnEoaxIvoQLTpqqfr0=
9
		oAthN+QnxvQYPDBLQ6W7Zm9Wanc=
10 10
		</data>
11 11
		<key>Headers/IPUSocialComponent.h</key>
12 12
		<data>
@ -58,7 +58,7 @@
58 58
		</data>
59 59
		<key>Info.plist</key>
60 60
		<data>
61
		7PM9FqKDeaz6DLl7XWFKLOAiciE=
61
		xxurdYcHXYNk5sqv4H5yeoKjvo4=
62 62
		</data>
63 63
		<key>Modules/module.modulemap</key>
64 64
		<data>
@ -71,11 +71,11 @@
71 71
		<dict>
72 72
			<key>hash</key>
73 73
			<data>
74
			bhlP2+PWNsnEoaxIvoQLTpqqfr0=
74
			oAthN+QnxvQYPDBLQ6W7Zm9Wanc=
75 75
			</data>
76 76
			<key>hash2</key>
77 77
			<data>
78
			cH73KkuXQ/xVWzLtM9GbwfojNn1BCAm30rvDeMvlrns=
78
			y8MYWK78PWevcPyEgSJRscRd+DXihRqAK90+rkk6ZuQ=
79 79
			</data>
80 80
		</dict>
81 81
		<key>Headers/IPUSocialComponent.h</key>

+ 1 - 1
IPUFrameworks/IpuCount.framework/Headers/IpuDelegateVO.h

@ -23,6 +23,6 @@
23 23
24 24
- (instancetype)initWithClassName:(NSString *)className AndAspectName:(NSString*)aspectName;
25 25
26
- (void)addMethod:(NSString*)methodName;
26
- (void)addMethod:(NSString *)methodName;
27 27
28 28
@end

二進制
IPUFrameworks/IpuCount.framework/Info.plist


二進制
IPUFrameworks/IpuCount.framework/IpuCount


+ 1 - 1
IPUFrameworks/IpuCount.framework/Modules/module.modulemap

@ -1,4 +1,4 @@
1
framework module IpuCount {
1
framework module IPUCount {
2 2
  umbrella header "IpuCount.h"
3 3
4 4
  export *

+ 15 - 26
IPUFrameworks/IpuFaceCheck.framework/Headers/IpuFaceCheckSession.h

@ -8,40 +8,20 @@
8 8
9 9
#import <Foundation/Foundation.h>
10 10
#import <UIKit/UIKit.h>
11
12
typedef NS_ENUM(NSUInteger, IpuFaceNetIns) {
13
    SGSimpleSessionStateNone,
14
    SGSimpleSessionStateConnecting,
15
    SGSimpleSessionStateConnected,
16
    SGSimpleSessionStateReconnecting,
17
    SGSimpleSessionStateEnd,
18
    SGSimpleSessionStateError,
19
};
20
21
#define IPU_FACE_REGISTER @"http://10.13.6.109:21099/mdp-server/images/faceApiRegister" //人脸识别实例化接口
22
23
#define IPU_FACE_FACEFEATURE @"http://10.13.6.109:21099/mdp-server/images/faceFeature" //人脸注册借口
24
25
#define IPU_FACE_PREDICT @"http://10.13.6.109:21099/mdp-server/images/facePredict" //人脸识别接口
26
27
#define IPU_FACE_FACEFEATURE_REQUEST_PATH @"/mdp-server/images/faceFeature" //人脸注册接口Path
28
29
#define IPU_FACE_PREDICT_REQUEST_PATH @"/mdp-server/images/facePredict" //人脸预测接口Path
30
31 11
/**
32 12
 *  IPUFaceCheck回调block
33 13
 */
34
typedef void(^IPUFaceCheckCallBack)(BOOL success,NSDictionary * data);
14
typedef void(^IPUFaceCheckCallBack)(BOOL success, NSDictionary *data);
35 15
36 16
/**
37 17
 *  commonPost失败回调block
38 18
 */
39
typedef void(^HylNetSuccessBlock)(NSData *data, NSURLResponse *response);
19
typedef void(^IPUNetSuccessBlock)(NSData *data, NSURLResponse *response);
40 20
41 21
/**
42 22
 *  commonPost失败回调block
43 23
 */
44
typedef void(^HylNetFailedBlock)(NSError *error,long status);
24
typedef void(^IPUNetFailedBlock)(NSError *error, long status);
45 25
46 26
@interface IpuFaceCheckSession : NSObject
47 27
@ -55,9 +35,18 @@ typedef void(^HylNetFailedBlock)(NSError *error,long status);
55 35
 @param isRegister 是否是注册:YES-注册人脸,NO-识别人脸
56 36
 @param callBack 调用接口的回调,(BOOL,NSDictionary)
57 37
 */
58
+ (void)ipuFaceCheckReceiveDataFromJS:(NSString *)host imgType:(int)imgType picInfo:(NSString *)picInfo appid:(NSString *)appid uid:(NSString *)uid isRegister:(BOOL)isRegister callBack:(IPUFaceCheckCallBack)callBack;
59
60
+(void)commonPost:(NSDictionary*)paramDic Url:(NSString*)urlPath success:(HylNetSuccessBlock)successBlock failed:(HylNetFailedBlock)failedBlock;
38
+ (void)ipuFaceCheckReceiveDataFromJS:(NSString *)host
39
                              imgType:(NSInteger)imgType
40
                              picInfo:(NSString *)picInfo
41
                                appid:(NSString *)appid
42
                                  uid:(NSString *)uid
43
                           isRegister:(BOOL)isRegister
44
                             callBack:(IPUFaceCheckCallBack)callBack;
45
46
+ (void)commonPost:(NSDictionary*)paramDic
47
               Url:(NSString*)urlPath
48
           success:(IPUNetSuccessBlock)successBlock
49
            failed:(IPUNetFailedBlock)failedBlock;
61 50
62 51
+ (NSString *)img2Base64:(UIImage *)img;
63 52
@end

+ 5 - 4
IPUFrameworks/IpuFaceCheck.framework/Headers/IpuFaceCheckViewController.h

@ -7,17 +7,18 @@
7 7
//
8 8
9 9
#import <Foundation/Foundation.h>
10
//@class IPUPlugin;
11 10
#import <UIKit/UIKit.h>
11
12 12
@protocol IpuFaceCheckViewControllerDelegate<NSObject>
13
13 14
- (void)backMsg:(NSDictionary *)callBackDic;
15
14 16
@end
15 17
16
@interface IpuFaceCheckViewController : UIViewController
17 18
18
@property (nonatomic , strong) NSArray *params;
19
@interface IpuFaceCheckViewController : UIViewController
19 20
20
//@property (nonatomic, strong)  IPUPlugin *plugin;
21
@property (nonatomic, strong) NSArray *params;
21 22
22 23
@property (nonatomic, assign)  BOOL isRegister; //是否是人脸注册注册
23 24

二進制
IPUFrameworks/IpuFaceCheck.framework/Info.plist


二進制
IPUFrameworks/IpuFaceCheck.framework/IpuFaceCheck


+ 7 - 7
IPUFrameworks/IpuFaceCheck.framework/_CodeSignature/CodeResources

@ -10,15 +10,15 @@
10 10
		</data>
11 11
		<key>Headers/IpuFaceCheckSession.h</key>
12 12
		<data>
13
		c3aOVpzeQSJgkrycUOVRPPRZqoY=
13
		2Hc9L8HdDXnWCsXfozTiDKWbQHo=
14 14
		</data>
15 15
		<key>Headers/IpuFaceCheckViewController.h</key>
16 16
		<data>
17
		3k9hZ14ZomQnvLxWOs9ZJrPRa4k=
17
		1KJyFXpA2jmk/uNzdHTmFeuVWiM=
18 18
		</data>
19 19
		<key>Info.plist</key>
20 20
		<data>
21
		bMYomJcWgUeUKf3zDLEu36fmLuc=
21
		Uey/ll8n7pigfqZm7S5VRn6uzNI=
22 22
		</data>
23 23
		<key>IpuFace.Bundle/people.png</key>
24 24
		<data>
@ -54,22 +54,22 @@
54 54
		<dict>
55 55
			<key>hash</key>
56 56
			<data>
57
			c3aOVpzeQSJgkrycUOVRPPRZqoY=
57
			2Hc9L8HdDXnWCsXfozTiDKWbQHo=
58 58
			</data>
59 59
			<key>hash2</key>
60 60
			<data>
61
			qt+BLAZcP2hCu/g2C0hFEgbamFUU6RbKurz4TXriLPY=
61
			J76RwJ+eh9t0jJxluJv9OMsO3KSZqQwWMev/tT/vwYs=
62 62
			</data>
63 63
		</dict>
64 64
		<key>Headers/IpuFaceCheckViewController.h</key>
65 65
		<dict>
66 66
			<key>hash</key>
67 67
			<data>
68
			3k9hZ14ZomQnvLxWOs9ZJrPRa4k=
68
			1KJyFXpA2jmk/uNzdHTmFeuVWiM=
69 69
			</data>
70 70
			<key>hash2</key>
71 71
			<data>
72
			+CiY3wcx7zuXzpHZBPT1+DQBMhS99phi4By4mFQf1RA=
72
			r/DwaOYhrUuXzYXsGG1qv3reKmCI1TD+kZm0trv7mXU=
73 73
			</data>
74 74
		</dict>
75 75
		<key>IpuFace.Bundle/people.png</key>

+ 2 - 2
display-center/Res/config/mobile-config.xml

@ -1,10 +1,10 @@
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<configs>
3 3
    <!--3.0稳定版生产环境-->
4
<!--    <config name="request_host" value="http://www.aiipu.com:8083"/>-->
4
    <config name="request_host" value="http://www.aiipu.com:8083"/>
5 5
    <!--master标准版测试环境-->
6 6
<!--    <config name="request_host" value="http://10.13.13.36:8089"/>-->
7
    <config name="request_host" value="http://121.42.183.206:8081"/>
7
<!--    <config name="request_host" value="http://121.42.183.206:8081"/>-->
8 8
9 9
    <config name="request_path" value="/show"/>
10 10
    <config name="request_servlet" value="/mobiledata"/>

+ 0 - 6
display-center/display-center.xcworkspace/contents.xcworkspacedata

@ -2,12 +2,6 @@
2 2
<Workspace
3 3
   version = "1.0">
4 4
   <FileRef
5
      location = "group:../../iOS/IPUFoundation/IPUFoundation.xcodeproj">
6
   </FileRef>
7
   <FileRef
8
      location = "group:../../iOS/IPUMobile/IPUMobile.xcodeproj">
9
   </FileRef>
10
   <FileRef
11 5
      location = "group:display-center.xcodeproj">
12 6
   </FileRef>
13 7
</Workspace>

二進制
display-center/display-center.xcworkspace/xcuserdata/benny.xcuserdatad/UserInterfaceState.xcuserstate


+ 15 - 0
display-center/display-center.xcworkspace/xcuserdata/benny.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@ -204,6 +204,21 @@
204 204
                  endingLineNumber = "111"
205 205
                  offsetFromSymbolStart = "540">
206 206
               </Location>
207
               <Location
208
                  uuid = "FEF68F5F-95C5-4BC0-AB80-B7A704BFDF37 - 4f39955c4233c17a"
209
                  shouldBeEnabled = "Yes"
210
                  ignoreCount = "0"
211
                  continueAfterRunningActions = "No"
212
                  symbolName = "+[IPUTemplateManager copyResources]"
213
                  moduleName = "IPUMobile"
214
                  usesParentBreakpointCondition = "Yes"
215
                  urlString = "file:///Users/benny/iOS/IPUMobile/IPUMobile/Frame/Template/IPUTemplateManager.m"
216
                  startingColumnNumber = "9223372036854775807"
217
                  endingColumnNumber = "9223372036854775807"
218
                  startingLineNumber = "113"
219
                  endingLineNumber = "113"
220
                  offsetFromSymbolStart = "48">
221
               </Location>
207 222
            </Locations>
208 223
         </BreakpointContent>
209 224
      </BreakpointProxy>

+ 3 - 6
display-center/display-center/IPUIFlyVoiceRecognition.m

@ -95,12 +95,9 @@
95 95
#pragma mark - IFlySpeechRecognizerDelegate
96 96
97 97
- (void)onCompleted:(IFlySpeechError *)errorCode {
98
    IPULogDebug(@":::::::::::::::::");
99
    IPULogDebug(@"%s", __func__);
100
    IPULogDebug(@"%d", errorCode.errorCode);
101
    IPULogDebug(@"%d", errorCode.errorType);
102
    IPULogDebug(@"%@", errorCode.errorDesc);
103
    IPULogDebug(@":::::::::::::::::");
98
    IPULogDebug(@"讯飞语音识别错误码:%d", errorCode.errorCode);
99
    IPULogDebug(@"讯飞语音识别错误码类型:%d", errorCode.errorType);
100
    IPULogDebug(@"讯飞语音识别错误码描述:%@", errorCode.errorDesc);
104 101
}
105 102
106 103
- (void)onResults:(NSArray *)results isLast:(BOOL)isLast {

@laijj@调试文件上传 · 56a617a143 - Nuosi Git Service
Przeglądaj źródła

@laijj@调试文件上传

赖骏劼 2 lat temu
rodzic
commit
56a617a143

+ 129 - 96
ipu-show-server/src/main/java/com/ai/ipu/show/bean/UploadDownloadBean.java

@ -1,10 +1,6 @@
1 1
package com.ai.ipu.show.bean;
2 2
3
import java.io.File;
4
import java.io.FileInputStream;
5
import java.io.FileOutputStream;
6
import java.io.InputStream;
7
import java.io.OutputStream;
3
import java.io.*;
8 4
import java.util.List;
9 5
10 6
import javax.servlet.http.HttpServletRequest;
@ -25,102 +21,139 @@ import com.ai.ipu.basic.log.IpuLoggerFactory;
25 21
26 22
/**
27 23
 * @author huangbo
28
 * @date 2016-1-9 下午2:32:20 
24
 * @date 2016-1-9 下午2:32:20
29 25
 * @desc 上传下载使用范例
30 26
 */
31 27
public class UploadDownloadBean extends IpuAppBean {
32 28
33
	/**
34
	 * log在子类重新定义
35
	 */
36
	protected static final transient ILogger log = IpuLoggerFactory.getLogger(UploadDownloadBean.class);
37
    
38
	/**
39
	 * 文件上传
40
	 */
41
	public IData upload(IData param) throws Exception {
42
		/* 1.判断请求和参数是否合法 */
43
		String filePathStr = param.getString("FILE_PATH", ""); // 通过自定义参数决定文件存储规则
44
		String[] filePaths = filePathStr.split(",");
45
		if (filePaths.length == 0) {
46
			MobileUtility.error("请设置文件存储路径!");
47
		}
48
		/* 1.2.判断请求是否包含文件信息 */
49
		HttpServletRequest request = ServletManager.getRequest();
50
		if (!ServletFileUpload.isMultipartContent(request)) {
51
			MobileUtility.error("没有检测到文件,请重新提交!");
52
		}
29
    /**
30
     * log在子类重新定义
31
     */
32
    protected static final transient ILogger log = IpuLoggerFactory.getLogger(UploadDownloadBean.class);
53 33
54
		/* 2.处理上传文件的业务逻辑 */
55
		IData result = new DataMap();
56
		DiskFileItemFactory factory = new DiskFileItemFactory(); // 获得磁盘文件条目工厂
57
		// factory.setSizeThreshold(5*1024*1024); //设置缓存的大小。上传文件超过缓存时,将存储在临时目录中。
58
		// factory.setRepository(file); //设置临时存储
59
		ServletFileUpload upload = new ServletFileUpload(factory);
60
		OutputStream out = null;
61
		InputStream in = null;
62
		String filePath = null, savePath = ""; // 文件地址
63
		/* 多个上传文件 */
64
		List<FileItem> fileList = upload.parseRequest(request);
65
		// 多文件上传判断 还有些问题,未调通
66
		// if(fileList.size() != filePaths.length){
67
		// MobileUtility.error("提交的文件数量和保存的文件列表数量不一致,请检查参数!");
68
		// }
69
		for (int i = 0; i < fileList.size(); i++) {
70
			FileItem item = fileList.get(i);
71
			String name = item.getFieldName();// 获取表单的属性名
34
    /**
35
     * 文件上传
36
     */
37
    public IData upload(IData param) throws Exception {
38
        log.info("调用upload功能");
39
        IData result = new DataMap();//返回参数
40
        /* 1.判断请求和参数是否合法 */
41
        String filePathStr = param.getString("FILE_PATH", ""); // 通过自定义参数决定文件存储规则
42
        String[] filePaths = filePathStr.split(",");
43
        if (filePaths.length == 0) {
44
            MobileUtility.error("请设置文件存储路径!");
45
        }
46
        log.info("调用upload功能,filePathStr:" + filePathStr);
47
        /* 1.2.判断请求是否包含文件信息 */
48
        HttpServletRequest request = ServletManager.getRequest();
49
        if (!ServletFileUpload.isMultipartContent(request)) {
50
            MobileUtility.error("没有检测到文件,请重新提交!");
51
        }
52
        /* 2.处理上传文件的业务逻辑 */
53
        String filePath = null;  // 文件地址
54
        StringBuilder savePath = new StringBuilder();
55
        DiskFileItemFactory factory = new DiskFileItemFactory(); // 获得磁盘文件条目工厂
56
        ServletFileUpload upload = new ServletFileUpload(factory);
57
        /* 多个上传文件 */
58
        List<FileItem> fileList = upload.parseRequest(request);
59
        // 多文件上传判断 还有些问题,未调通
60
        // if(fileList.size() != filePaths.length){
61
        // MobileUtility.error("提交的文件数量和保存的文件列表数量不一致,请检查参数!");
62
        // }
63
        for (int i = 0; i < fileList.size(); i++) {
64
            FileItem item = fileList.get(i);
65
            // 获取表单的属性名
66
            String name = item.getFieldName();
67
            log.info("调用upload功能,fileList[" + i + "],name:" + name);
68
            /* 处理表单数据 */
69
            if (item.isFormField()) {
70
                request.setAttribute(name, item.getString());
71
            } else {
72
                String value = item.getName();
73
                // 保存文件名
74
                request.setAttribute(name, value);
75
                // 文件在server上保存地址
76
                filePath = ApplicationPath.getFilePath(request) + filePaths[i];
77
                log.debug("调用upload功能,filePath:" + filePath);
78
                File dir = new File(filePath).getParentFile();
79
                if (!dir.exists() && !dir.mkdirs()) {
80
                    MobileUtility.error("创建上传文件夹失败!");
81
                }
82
                savePath.append(filePath).append(",");
83
                log.debug("调用upload功能,拼接savePath:" + savePath);
84
                /* 保存文件 */
85
                File uploadFile = new File(filePath);
86
                saveFile(item, uploadFile);
87
                log.debug("调用upload功能,保存图片成功");
88
//				OutputStream out = null;
89
//				InputStream in = null;
90
//				try {
91
//					out = new FileOutputStream(uploadFile);
92
//					in = item.getInputStream();
93
//					int length = 0;
94
//					byte[] buf = new byte[1024];
95
//					while ((length = in.read(buf)) != -1) {
96
//						out.write(buf, 0, length);
97
//					}
98
//					log.debug("上传文件大小为:" + item.getSize());
99
//				} catch (Exception e) {
100
//					MobileUtility.error("上传文件失败!", e);
101
//				} finally {
102
//					if (in != null) {
103
//						in.close();
104
//					}
105
//					if (out != null) {
106
//						out.close();
107
//					}
108
//				}
109
            }
110
        }
111
        result.put("FILE_PATH", savePath.substring(0, savePath.length() - 1));
112
        result.put("MEESSAG", "上传文件成功:" + filePath);
113
        return result;
114
    }
72 115
73
			/* 处理表单数据 */
74
			if (item.isFormField()) {
75
				request.setAttribute(name, item.getString());
76
			} else {
77
				String value = item.getName();
78
				request.setAttribute(name, value); // 保存文件名
79
				// 文件在server上保存地址
80
				filePath = ApplicationPath.getFilePath(request) + filePaths[i];
81
				File dir = new File(filePath).getParentFile();
82
				if (!dir.exists() && !dir.mkdirs()) {
83
					MobileUtility.error("创建上传文件夹失败!");
84
				}
85
				savePath += filePath + ",";
86
				/* 保存文件 */
87
				File uploadFile = new File(filePath);
88
				try {
89
					out = new FileOutputStream(uploadFile);
90
					in = item.getInputStream();
91
					int length = 0;
92
					byte[] buf = new byte[1024];
93
					while ((length = in.read(buf)) != -1) {
94
						out.write(buf, 0, length);
95
					}
96
					log.debug("上传文件大小为:" + item.getSize());
97
				} catch (Exception e) {
98
					MobileUtility.error("上传文件失败!", e);
99
				} finally {
100
					if (in != null) {
101
						in.close();
102
					}
103
					if (out != null) {
104
						out.close();
105
					}
106
				}
107
			}
108
		}
109
		result.put("FILE_PATH", savePath.substring(0, savePath.length() - 1));
110
		result.put("MEESSAG", "上传文件成功:" + filePath);
111
		return result;
112
	}
113
	
114
	public InputStream download(IData param) throws Exception {
115
		String filePath = param.getString("FILE_PATH");
116
		HttpServletRequest request = ServletManager.getRequest();
117
		filePath = ApplicationPath.getFilePath(request) + filePath;
118
		
119
		File file = new File(filePath);
120
		if (!file.isFile()) {
121
			MobileUtility.error("没有指定的文件可供下载,请先上传文件!");
122
		}
116
    /**
117
     * 保存文件方法
118
     *
119
     * @param item
120
     * @param uploadFile
121
     * @throws IOException
122
     */
123
    private void saveFile(FileItem item, File uploadFile) throws IOException {
124
        OutputStream out = null;
125
        InputStream in = null;
126
        try {
127
            out = new FileOutputStream(uploadFile);
128
            in = item.getInputStream();
129
            int length = 0;
130
            byte[] buf = new byte[1024];
131
            while ((length = in.read(buf)) != -1) {
132
                out.write(buf, 0, length);
133
            }
134
            log.debug("上传文件大小为:" + item.getSize());
135
        } catch (Exception e) {
136
            MobileUtility.error("上传文件失败!", e);
137
        } finally {
138
            if (in != null) {
139
                in.close();
140
            }
141
            if (out != null) {
142
                out.close();
143
            }
144
        }
145
    }
123 146
124
		return new FileInputStream(file);
125
	}
147
    public InputStream download(IData param) throws Exception {
148
        String filePath = param.getString("FILE_PATH");
149
        HttpServletRequest request = ServletManager.getRequest();
150
        filePath = ApplicationPath.getFilePath(request) + filePath;
151
152
        File file = new File(filePath);
153
        if (!file.isFile()) {
154
            MobileUtility.error("没有指定的文件可供下载,请先上传文件!");
155
        }
156
157
        return new FileInputStream(file);
158
    }
126 159
}

+ 0 - 1
ipu-show-server/src/main/java/com/ai/ipu/show/util/ApplicationPath.java

@ -22,7 +22,6 @@ public final class ApplicationPath {
22 22
			
23 23
			if(serverType.equals("T")){
24 24
				appFilePath = request.getSession().getServletContext().getRealPath("/");
25
				
26 25
			}else{
27 26
				appFilePath = request.getSession().getServletContext().getResource("/").getPath();
28 27
			}