String message;
String contentType, posted_ldapUserName;
private ClientViewHelper clientHelper;
private MultipartParser multipartParser;
private int sizeLimit;
private String contenType;
sizeLimit = (new Integer(PropertyService.getProperty("replication.datafilesizelimit"))).intValue();
clientHelper = ClientViewHelper.clientViewHelperInstance(request);
contentType = request.getContentType();
message = "";
//*** Only process request if a file upload.
if (clientHelper.isLoggedIn()) {
if (contentType != null && contentType.contains("multipart/form-data")) {
//*** Init the MultipartParser.
multipartParser = new MultipartParser(request, sizeLimit * 1024 * 1024);
message = clientHelper.handleFileUpdate(multipartParser);
} else {
message = clientHelper.clientRequest(request, response);
}
} else {
message = "You need to be logged in.";
}
response.setContentType("text/html;charset=UTF-8");
message = message
Press the BACK button to return.