if (!filename.endsWith(".jrxml")) {
throw new CarbonException("File with extension " +
getFileName(fileItem.getFileItem().getName())
+ " is not supported!");
}
String uploadStatue = uploaderClient.uploadJrxmlFile(filename.split(".jrxml")[0], fileItem.getFileItem().getString());
if(uploadStatue.equals("success")){
status=true;
}
response.setContentType("text/html; charset=utf-8");
String msg = "Successfully uploaded jrxml file.";