title: File reader in GWT
body: <p>i've got the follow issue: I wanna implement a file-reader in my GWT-application which allows the user to upload a file and work with it's content (in this particular case I'm talking about HTML). How do I realize that? As far as I know there is no way to use Java's usual BufferedReader.
  The only thing I've discovered so far is the following:</p>
  
  <pre><code>        try {
          Request r = new RequestBuilder(RequestBuilder.GET, file).sendRequest("", new RequestCallback() {
  
              @Override
              public void onResponseReceived(Request request, Response response) {
                  String text = response.getText();
                  System.out.println("1234");
              }
  
              @Override
              public void onError(Request request, Throwable exception) {
                  System.out.println("456");
              }
  
              });
      } catch (RequestException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      }
  </code></pre>
  
  <p>But this wouldn't be that helpful as far as there's no file-chooser dialog. </p>
  
  <p>I'd realy appreciate your help!</p>
  
  <p>Regards</p>