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 expecting the servlet to execute on socket open? The servlet won't be aware of the client until a request is made and tomcat has a chance to route it to your servlet per the spec.
--David [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 open once that socket connect to Tomcat > > > > >Markus Schönhaber <[EMAIL 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 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 > >--------------------------------------------------------------------- >To start a new topic, e-mail: users@tomcat.apache.org >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]