title: access to pdf file from extjs
body: <p>I work with Ext JS 4.</p>
  
  <p>I have generated a PDF (test.pdf) using Java and I make this PDF under WebContent using this code.</p>
  
  <pre><code>net.sf.jasperreports.engine.JasperExportManager.exportReportToPdfFile(
      jasperPrint,
      "D:/workSpace/Urbanisme/WebContent/theme/" + outputFileName);
  </code></pre>
  
  <p>Now I want to display this PDF in a panel.</p>
  
  <pre><code>new Ext.Window({
      title:  "print",
      width:  640,
      height: 480,
      layout: 'fit',
      items:  [{
          xtype: "component",
          autoEl: {
              tag: "iframe",
              src: '/urbanisme/theme/test.pdf'
          }
      }]
  }).show();
  </code></pre>
  
  <p>But I have this error:</p>
  
  <p><strong>etat http 404 -/urbanisme/theme/test.pdf</strong></p>
  
  <p>I solve this error by refreshing my project, specifically the file <strong>theme</strong>, and after refresh test.pdf will be displayed in my project.</p>
  
  <p>I want to know how can I refresh my project after I generate a PDF, or if I make the generated PDF in <code>C:</code> I want to know how can I access to <code>C:</code> from Ext JS 4.</p>
  
  <p>I try without success with</p>
  
  <pre><code>new Ext.Window({
      title:  "print",
      width:  640,
      height: 480,
      layout: 'fit',
      items:  [{
          xtype: "component",
          autoEl: {
              tag: "iframe",
              src: 'C://test.pdf'
          }
      }]
  }).show();
  </code></pre>