title: google web toolkit- Sending a String from Java to JavaScript Code
body: <p>I'm working on my first web app, and I'm using gwt to build it.</p>
  
  <p>This app implements external hand-written JavaScript Code (which I'm not familiar with). 
  Well, I need to set a String variable within Java and pass  it to a JavaScript Object.</p>
  
  <p>the interesting part of my html looks like: </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;  var b = new Browser({
                                               containerID: "TheApp",
                                               Data: Info,
                                               bookmark: bookmarkCallback,
                                               dataPath:"pathToData/"
                                                       }); &lt;/script&gt;  
  </code></pre>
  
  <p>And now, I would like to set the dataPath in Java and pass it over to "pathTOData"</p>
  
  <p>How exactly could i do it?
  Thanks in advance for your help</p>