private void handleUpload() throws Exception{
ConfigBean cb = (ConfigBean) SingleBeanCache.get(ConfigConstant.CONFIGBEAN_ID);
Upload upload = method.getAnnotation(Upload.class);
UploadConfigBean ucb = cb.getMvc().getUpload();
String tmpDir = ucb.getTmp();
int memoryMax = StringUtil.strToInt(StringUtil.parseFileSize(ucb.getMaxMemorySize())+"");
long sizeMax = StringUtil.parseFileSize(ucb.getMaxRequestSize());
//String[] suffix = ucb.getSuffix().split(",");
if (upload != null){
if (upload.tmpDir().trim().length() > 0)
tmpDir = upload.tmpDir();