ConverterProcessResultList returnError = fileProcessor
.processFile(info.userId, room_id_to_Store, isOwner, is,
parentFolderId, info.filename, 0L, ""); // externalFilesId, externalType
UploadCompleteMessage uploadCompleteMessage = new UploadCompleteMessage();
uploadCompleteMessage.setUserId(info.userId);
// Flash cannot read the response of an upload
// httpServletResponse.getWriter().print(returnError);
uploadCompleteMessage.setMessage("library");
uploadCompleteMessage.setAction("newFile");
setFileExplorerItem(uploadCompleteMessage,
fileExplorerItemDao.getFileExplorerItemsById(
returnError.getFileExplorerItemId()));
uploadCompleteMessage.setHasError(returnError.hasError());
//we only send the complete log to the client if there is really something
//to show because of an error
if (returnError.hasError()) {
uploadCompleteMessage.setError(returnError.getLogMessage());
}
uploadCompleteMessage.setFileName(returnError.getCompleteName());
sendMessage(info, uploadCompleteMessage);
} catch (ServletException e) {
throw e;
} catch (Exception e) {