No, I have successfully created many java web applications, but for some reason can not seem to successfully create a comet one. Something is not working and I don't know what. I've taken all the code, placed it where I thought it should be placed, but still something doesn't work. I have searched google for days for an answer or a tutorial, and have not found anything! I finally resorted to this list, hoping to get some help.
-Siobhan Siobhan wrote: > This page doesn't describe where to put this code. Can you explain that? I should have spotted this earlier sorry, are you not clear on how to construct a java web application? Lots of stuff around (Google is your friend) to explain how to make a basic web app, a Comet app is a special case of this. This mailing list is better at answering specific questions, or solving specific problems, rather than providing extended starter tutorials. If you have a specific problem it will be easier to assist. p > -Siobhan > > > Siobhan wrote: >> I would like directions or steps on how to set up a working Comet test >> example. I'm very new to Comet and haven't been able to find a > step-by-step >> process as to how a Comet application is set up using a servlet with > Tomcat. >> I want something like: >> >> 1. Change the Nio connector. Find the file.....and change....etc. >> 2. Place this Java servlet code in the .... directory....etc. >> 3. Place this jsp code....in the .... directory....etc. >> ... > > Ditch the idea of using JSP completely, you won't be able to, as > Matthias said below. Comet servlets need to implement the > org.apache.catalina.CometProcessor interface, a compiled JSP will not > have this. (See http://tomcat.apache.org/tomcat-6.0-doc/aio.html). > > The page above has example code. > > > p > > > > > >> Every example I try seems not to work and I want to make sure that I'm >> following the proper steps and not leaving anything out. >> >> -Siobhan >> >> -----Original Message----- >> From: Reich, Matthias >> Sent: Monday, January 21, 2008 9:49 AM >> To: Tomcat Users List >> Subject: RE: Comet Development >> >> I think you need to explain a little more on what you want to achieve by >> using comet with JSPs. >> >> The JSP processing model is bound to the traditional Servlet processing >> model, >> and a compiled JSP is a traditional Servlet - not a Comet Servlet. >> I am not sure if including response snippets generated by a JSP into the >> response stream via a call to RequestDispatcher.include would work. >> >> Regards, >> Matthias >> >> -----Original Message----- >> From: Siobhan >> Sent: Wednesday, January 16, 2008 8:24 PM >> To: 'Tomcat Users List' >> Subject: RE: Comet Development >> >> Ok. But how is it all suppose to be put together? I want to use comet >> using >> jsp, but I don't see any jsp code. >> >> >> -----Original Message----- >> From: Peter Warren [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, January 16, 2008 12:42 PM >> To: Tomcat Users List >> Subject: Re: Comet Development >> >> This post >> (http://www.nabble.com/comet-questions-td14673697.html#a14673697) >> contains test code for both a client & comet servlet. See if it >> helps. >> >> On Jan 16, 2008 10:35 AM, Siobhan <[EMAIL PROTECTED]> wrote: >>> To anyone who has successfully used Comet: >>> >>> >>> >>> I've been trying to use Comet with Tomcat 6.0 for a few weeks now and >> have >>> been unsuccessful. I'm so frustrated with the lack of documentation >> and >> the >>> unusable example that was given with Tomcat. >>> >>> >>> >>> Are there any step-by-step instructions on how to successfully >> implement a >>> test program? >>> >>> >>> >>> -SB >>> >>> >> --------------------------------------------------------------------- >> 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] >> >> >> --------------------------------------------------------------------- >> 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] >> >> > > > --------------------------------------------------------------------- > 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] > > --------------------------------------------------------------------- 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]