You can use event-listeners. In servlet 2.3 there are two types of events: application- and session-. Servlet 2.4 adds another one request/response-events. This way, you code is much more modular.
-----Original Message----- From: lixiaoquan [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 8:02 PM To: [EMAIL PROTECTED] Subject: Can servlet generate a Web page first, then continue to run ? hi, I want to show a page immediately after the visiters' Form Submitting ,then do some logical processing at backgroud(this will assume a long time, so it may bother the visitor). I surpose to do these in one servlet. How can I do this? Thanks stan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
