Here is a scenario:

A user enters a query and submits it to servlet. The servlet prints "thanks
for the visit, ur query is being dealt with". At the same time the servlet
is accessing a database and searching for user's query. Then the servlet
updates itself with the information from the database.

My real question is that how can  a servlet update itself. For example, how
would it know that it has retrieved data from the database.

Would I need to use respond.setHeader(....) method.

Thanks
Qasim

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to