I'm using GWT 2.4 with the MVP pattern, with uiBinder, and a widget: GwtUploader. When the user selects a file to upload and clicks a button, I need to make a call to a servlet. I'm not calling a service, I just need to access the HttpRequest so I can pull the file that the widget has uploaded, but I'm not clear how to do this?
Here is the uiHandler code:
@UiHandler("loadFileButton")
void onClickCalculate(ClickEvent e){
String fileName = fileUploader.getFileName();
...