[EMAIL PROTECTED] wrote:
Yeah it dose work when i am accessing the Tomcat via the browser but i
don't want to access it via the browser because somebody from different
machine will send me a message via a socket connection and i want that
servlet do the work once the socket connect to the
[EMAIL PROTECTED] wrote:
How i can let Tomcat 5.5.27 listen to any socket connection from the
client and handle it ??
By starting it.
If this answer doesn't seem helpful, you should propably explain a little more
precisely what you are trying to achieve.
Regards
mks
PROTECTED]
30/05/2006 11:35
Please respond to
Tomcat Users List users@tomcat.apache.org
To
Tomcat Users List users@tomcat.apache.org
cc
Subject
Re: Socket Servlet using Tomcat 5.5.17
[EMAIL PROTECTED] wrote:
How i can let Tomcat 5.5.27 listen to any socket connection from the
client
My problem is that my servlet running at Tomcat 5.05.17 and my servlet is
the default servlet, now i am trying to call this servlet by a Java
program that open socket connection... I want Tomcat run this default
servlet once that socket connect to Tomcat... Now the connection is done
but
[EMAIL PROTECTED] wrote:
I want Tomcat run this default
servlet open once that socket connect to Tomcat
Do redirect from index.jsp to your servlet. Do something like :
%
String redirectURL = http://hostname.com/;;
response.sendRedirect(redirectURL);
%
p.s. you should learn
Please respond to
Tomcat Users List users@tomcat.apache.org
To
Tomcat Users List users@tomcat.apache.org
cc
Subject
Re: Socket Servlet using Tomcat 5.5.17
Could you please clarify something for me? You say you expect the
servlet to run when the socket is opened. Did you send a request
Tomcat to listen for a generalize TCP connection.
HTH - Richard
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 30, 2006 8:55 PM
To: Tomcat Users List
Subject: Re: Socket Servlet using Tomcat 5.5.17
Hi David...
I didn't send a request
' users@tomcat.apache.org
cc
Subject
RE: Socket Servlet using Tomcat 5.5.17
Tomcat's purpose is to listen for requests and pass them on to the
appropriately mapped servlet. Maybe you do not want to use Tomcat, but
instead roll your own server that simply listens on a particular port for
socket