title: How can i access a parameter passed by an action in javascript?
body: <p>I'm using struts2 and have this code that triggers after an action is performed (via Ajax):</p>
  
  <pre><code>    dojo.event.topic.subscribe("cambioProyecto", function() {
              var hola = json_entregables;
              alert("hola");
      }
  </code></pre>
  
  <p>The *json_entregables* variable is a parameter given via struts2. I can access it in the jsp, no problem. But i can't in the script. What is the problem?</p>