Originally posted by Angela D'souza:
Can I get real data using JSP(which will call socket listener object which call data access object)?
Listening a socket for a long time in the middle of a HTTP request is generally a bad idea... If the client doesn't timeout the connection, your appserver will.
I'd suggest using some kind of polling scheme. The first that comes to mind is the HTML refresh header already suggested.