title: Accessing query string/parameter from html page
body: <p>I have a basic html page which is having a query parameter being passed to the page.  I thought I would be able to get the value with Request.QueryString but the more reading I'm doing seems that this is only for asp applications.  My html is as follows below</p>
  
  <pre><code>&lt;body&gt;
      &lt;object type="application/pdf" width="100%" height="100%"&gt;
          &lt;!--This didn't work--&gt;
          &lt;param name="src" value="&lt;%=Request.QueryString["path"]%&gt;" /&gt;
          &lt;!--Neither did this--&gt;
          &lt;!--&lt;param name="src" value="&lt;%=Request.Params["path"]%&gt;" /&gt;--&gt;
          &lt;!--When it is hardcoded then my page is displaying the pdf as expected.--&gt;
          &lt;!--&lt;param name="src" value="scan.pdf" /&gt;--&gt;
      &lt;/object&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>I am calling the page with displayPdf.htm?path=scan.pdf</p>
  
  <p>I've been searching for a way to access query parameters in html without having to write a javascript solution but haven't had any luck.  I'm sure adding a js function wouldn't be too big a deal just thought I would avoid it if there was a single line approach.</p>
  
  <p>Thanks for the help.</p>