title: Is websocket client means ws://...index.html or using http://...index.html is ok with implementing websockets
body: <p>I have created a websocket restful url like </p>
  
  <pre><code>ws://localhost:8080/wsserver/getPrice
  </code></pre>
  
  <p>and used a index.html page that consumes it as </p>
  
  <pre><code>socket = new Socket (url);
  </code></pre>
  
  <p>When i run the client i am able to get the price as per requirement.But what bothers me is that i have like </p>
  
  <pre><code>http://localhost:8080/goldBuying/index.html 
  </code></pre>
  
  <p>as my page.
  But i want that like </p>
  
  <pre><code>ws://localhost:8080/goldBuying/index.html 
  </code></pre>
  
  <p>because i think that is only complete websocket implementation as client.</p>
  
  <p>How to achieve that or what i have done is only possible.</p>