As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
public class UploadWebScript extends AbstractWebScript { public void execute(WebScriptRequest request, WebScriptResponse response) throws IOException { HttpServletRequest httpRequest = ((WebScriptServletRequest)request).getHttpServletRequest(); ServletFileUpload upload = new ServletFileUpload(new DiskFileItemFactory()); upload.setHeaderEncoding("UTF-8"); try { logger.info("parsing http request"); List<FileItem> fileItems = upload.parseRequest(httpRequest); …. } }