title: Passing string variable in alert box
body: <p>I have below script where im passing scriptlet variable to javascript function. But there is no alert box displaying.. Please let me what im missing here..</p>
  
  <pre><code>&lt;script language="JavaScript"&gt;
  window.onload = function(){
      &lt;%
        String res = request.getParameter("Message");
      %&gt;
      var Value = "&lt;%=res%&gt;";
      alert(Value);
      document.Form.submit();
  };
  &lt;/script&gt;
  </code></pre>
  
  <p>Thanks in advance</p>