final PrintWriter out = response.getWriter();
// 1- Bind this request to a XMPP JID
final JID user = getAuthenticatedUser(request);
if (user == null) {
throw new AuthenticationException();
}
// 2- Process the file
final UploadManager uploadManager = UploadManager.getInstance();