title: JSP socket only sending string once
body: <p>Hello everyone and thanks in advance.</p>
  
  <p>This is a last ditch effort to figure out what the problem is or find a better solution.</p>
  
  <p>I am using JSP filter to filter web access to a tomcat web server.</p>
  
  <p>I have a client, a server and the filter.</p>
  
  <p>The client and the filter open up sockets the the server receives them.</p>
  
  <p>I heard that opening up a server socket in a JSP files is a no-no but I cannot think of a better way to make it send a string to the server software, if you know any please do tell</p>
  
  <p>But the problem on hand is that when the page is filtered it only send the string initially and not anytime after that</p>
  
  <p>I have the socket opened in the filter and the receiver in the server program is in a thread so it should be taking and printing the string when it is received.</p>
  
  <p>All of my code is zipped in here, you will need tomcat to run.</p>
  
  <p><a href="http://www.easy-share.com/1904209945/JNetProtect.zip" rel="nofollow noreferrer">http://www.easy-share.com/1904209945/JNetProtect.zip</a></p>
  
  <p>I'm really sorry for the length and complexity of this question, please if there is any better way to do this do speak up,</p>