UploadFormPostRequestProcessor processor = router.createUploadFromProcessor();
try {
router.processUploadFormPostRequest( processor, getFileItems(request), response.getWriter() );
}
catch( FileUploadException e ) {
processor.handleFileUploadException( e );
}
}
@SuppressWarnings("unchecked")
private List<FileItem> getFileItems(HttpServletRequest request) throws FileUploadException {