判断文件存在

2024/9/3 0:36:57

Ajax请求访问action判断文件是否存在

action中的写法: public ActionForward fileIsExsit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {String url request.getParameter("loadFile");File file new File(request.getServletCo…