finally got it to work. the trick was to create another thread for it. so now i have a new listener class which is running in the background in sep threads for sending and receiving data. thanks to all for their help.
the only other thing I can see is that my web.xml is flagging an error on the last line of the file at </web-app> for some reason. it seems to have compiled and its running properly, but somehow eclipse is not happy with the file. dont know whats wrong though. there is no syntax error in my listener statements. can you guys think of anything. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]