| dlog4j.action.DlogActionBase dlog4j.action.DlogUploadAction
Method Summary | |
public ActionForward | doDefault(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | protected static String | getFileExtendName(String file) | protected String | getUniqueFileName(String extName) | protected String | getUploadDir() | protected int | getValue(int pvalue, String rvalue) | public static void | main(String[] args) | public ActionForward | uploadFlash(ActionMapping mapping, UploadFlashForm form, HttpServletRequest request, HttpServletResponse response) | public ActionForward | uploadImage(ActionMapping mapping, UploadImageForm form, HttpServletRequest request, HttpServletResponse response) |
IMAGESTRING_KEY | final public static String IMAGESTRING_KEY(Code) | | |
getFileExtendName | protected static String getFileExtendName(String file)(Code) | | 获取文件的扩展名
Parameters: file - |
getUniqueFileName | protected String getUniqueFileName(String extName)(Code) | | 得到一个唯一的文件名
Parameters: extName - |
getUploadDir | protected String getUploadDir()(Code) | | 获取上传文件保存的目录全路径
|
getValue | protected int getValue(int pvalue, String rvalue)(Code) | | |
|
|