<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Failed to load Jquery in STP : the server responded with a status of 404 (Not Found) in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Failed-to-load-Jquery-in-STP-the-server-responded-with-a-status/m-p/282149#M5034</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all in advance.&lt;/P&gt;&lt;P&gt;I am trying to use Jquery and other javascripst in my Stored Process.&lt;/P&gt;&lt;P&gt;While calling the STP, the javascript files are not being linked to the page.&lt;/P&gt;&lt;P&gt;I have stored my .js files in below path&lt;/P&gt;&lt;P&gt;"Config\Lev1\Web\WebServer\htdocs" .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to resolve below&amp;nbsp;url :-&lt;/P&gt;&lt;P&gt;"&lt;A href="http://sasserver.com/jquery.min.js" target="_blank"&gt;http://sasserver.com/jquery.min.js&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is the way i am linking .js file to my STP&lt;/P&gt;&lt;P&gt;&amp;lt;script type="text/javascript" src="jquery.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But while executing the STP, the files are not being linked with the page.&lt;/P&gt;&lt;P&gt;I have attached the screenshot, please share the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12720iC0B5D8E1C7CEBC9E/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Untitled.jpg" title="Untitled.jpg" /&gt;</description>
    <pubDate>Tue, 05 Jul 2016 14:26:54 GMT</pubDate>
    <dc:creator>13</dc:creator>
    <dc:date>2016-07-05T14:26:54Z</dc:date>
    <item>
      <title>Failed to load Jquery in STP : the server responded with a status of 404 (Not Found)</title>
      <link>https://communities.sas.com/t5/Developers/Failed-to-load-Jquery-in-STP-the-server-responded-with-a-status/m-p/282149#M5034</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all in advance.&lt;/P&gt;&lt;P&gt;I am trying to use Jquery and other javascripst in my Stored Process.&lt;/P&gt;&lt;P&gt;While calling the STP, the javascript files are not being linked to the page.&lt;/P&gt;&lt;P&gt;I have stored my .js files in below path&lt;/P&gt;&lt;P&gt;"Config\Lev1\Web\WebServer\htdocs" .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to resolve below&amp;nbsp;url :-&lt;/P&gt;&lt;P&gt;"&lt;A href="http://sasserver.com/jquery.min.js" target="_blank"&gt;http://sasserver.com/jquery.min.js&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is the way i am linking .js file to my STP&lt;/P&gt;&lt;P&gt;&amp;lt;script type="text/javascript" src="jquery.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But while executing the STP, the files are not being linked with the page.&lt;/P&gt;&lt;P&gt;I have attached the screenshot, please share the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12720iC0B5D8E1C7CEBC9E/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Untitled.jpg" title="Untitled.jpg" /&gt;</description>
      <pubDate>Tue, 05 Jul 2016 14:26:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Failed-to-load-Jquery-in-STP-the-server-responded-with-a-status/m-p/282149#M5034</guid>
      <dc:creator>13</dc:creator>
      <dc:date>2016-07-05T14:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to load Jquery in STP : the server responded with a status of 404 (Not Found)</title>
      <link>https://communities.sas.com/t5/Developers/Failed-to-load-Jquery-in-STP-the-server-responded-with-a-status/m-p/282167#M5035</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to the communities.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I might be wrong, but you need a slash infront of your jquery reference.&amp;nbsp;&lt;SPAN&gt;&amp;lt;script type="text/javascript" src="/jquery.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Otherwise you can reference jQuery with absolute reference so it would be&amp;nbsp;&amp;lt;script type="text/javascript" src="&lt;A href="http://sasserver.com/jquery.min.js" target="_blank" rel="nofollow noopener noreferrer"&gt;http://sasserver.com/jquery.min.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Vasilij&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 15:06:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Failed-to-load-Jquery-in-STP-the-server-responded-with-a-status/m-p/282167#M5035</guid>
      <dc:creator>VasilijNevlev</dc:creator>
      <dc:date>2016-07-05T15:06:45Z</dc:date>
    </item>
  </channel>
</rss>

