(My opinion)
The servlet spec really only works for http based things. Trying to fit
anything else in will morph into a ainful kludge.
There are other apache projects out there such as avalon (or whatever
subprojects it broke into) which is probably more suited to this task.
-Tim
Juergen Weber
I have quite a similar problem as the original poster.
I'd like to write a router for CORBA messages that
should listen on a socket and forward the messages to
JMS. Same as the OP I would like to host the code in
Tomcat, to avoid having to handle all the threading
and socket issues and still more
[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 T
quot;'Tomcat Users List'"
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 partic
cause 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 requ
/2006 15:04
Please respond to
"Tomcat Users List"
To
Tomcat Users List
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 or are
you really exp
arkus Schönhaber <[EMAIL PROTECTED]>
30/05/2006 14:18
Please respond to
"Tomcat Users List"
To
"Tomcat Users List"
cc
Subject
Re: Socket Servlet using Tomcat 5.5.17
[EMAIL PROTECTED] wrote:
> My problem is that my servlet running at Tomcat 5.05.17 and my serv
[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 lear
ault
>servlet open once that socket connect to Tomcat
>
>
>
>
>Markus Schönhaber <[EMAIL PROTECTED]>
>30/05/2006 11:35
>Please respond to
>"Tomcat Users List"
>
>
>To
>"Tomcat Users List"
>cc
>
>Subject
>Re: Socket Ser
[EMAIL PROTECTED] wrote:
> 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
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 Tomca
AIL PROTECTED]>
30/05/2006 11:35
Please respond to
"Tomcat Users List"
To
"Tomcat Users List"
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 and handle
[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
---
How i can let Tomcat 5.5.27 listen to any socket connection from the
client and handle it ??
14 matches
Mail list logo