title: Window.open() in ext Js
body: <p>I have to load a new jsp page in the on click event of a button in ext js. I put the code like this</p>
  
  <pre><code>    listeners: {
         'click': function(){
            alert("hai");
            window.open('&lt;%=request.getContextPath()%&gt;/jsp/dashboard/helpwindow.jsp','_blank','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=700,height=600');
         }
     }
  </code></pre>
  
  <p>But it does not give me the result. '&lt;%=request.getContextPath()%>' makes problem.</p>
  
  <p>Now th new window open with url</p>
  
  <pre><code>http://localhost:8080/hiring/%3C%=request.getContextPath%28%29%%3E/jsp/dashboard/helpwindow.jsp
  </code></pre>
  
  <p>But I need the url</p>
  
  <pre><code>http://localhost:8080/hiring/jsp/dashboard/helpwindow.jsp
  </code></pre>
  
  <p>Please help me to solve this.</p>