This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS: TM4C129 HTTP Server | Using external files in HTML

Tool/software: TI-RTOS

Hello,

I am using HTTP Server with TI RTOS (latest version) on TM4C129EXL LP. My Problem is the following. I have an HTML file (static or cgi, doesn't matter) that links external resources like *.css and *.js. 

<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
      <title>Title</title>
      <link rel="stylesheet" href="css/material.css">
      <style>#view-source {position: fixed;display: block;right: 0;bottom: 0;margin-right: 40px;margin-bottom: 40px;z-index: 900;}</style>
      <script src="css/script.js"></script>
   </head>
   <body class="mdl-demo mdl-color--grey-100 mdl-color-text--grey-700 mdl-base">
      <div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
         <header class="mdl-layout__header mdl-layout__header--scroll mdl-color--primary">
            <div class="mdl-layout--large-screen-only mdl-layout__header-row"></div>
            <div class="mdl-layout--large-screen-only mdl-layout__header-row">
               <h3>Name &amp; Title</h3>
            </div>
            <div class="mdl-layout--large-screen-only mdl-layout__header-row"></div>
            <div class="mdl-layout__tab-bar mdl-js-ripple-effect mdl-color--primary-dark"><a href="#overview" class="mdl-layout__tab is-active">Overview</a><a href="#features" class="mdl-layout__tab">Features</a><a href="#features" class="mdl-layout__tab">Details</a><a href="#features" class="mdl-layout__tab">Technology</a><a href="#features" class="mdl-layout__tab">FAQ</a></div>
         </header>
         <main class="mdl-layout__content">
            <div class="mdl-layout__tab-panel is-active" id="overview"></div>
         </main>
         <footer class="mdl-mini-footer"></footer>
      </div>
   </body>
</html>

When I add both resource to the target and hitting refresh button on the browser only each of referred files can be loaded. *.js or the *.css not both. I made some tests and realized that only the first referenced file can be loaded. In the above example the css is loaded because it is above than the js file. When I change the order the js is OK but css fails.

Please see the chrome screenshot 

The error is: ERR_SOCKET_NOT_CONNECTED

Do you have any idea how to overcome this issue?

Thank you for your kind reply