hi all, Currently i'm using SilverStream as an Application Server. But i have a servlet it sometime take processing more than server specified time out(eg. 3000 seconds). So usually user will see in browser with error server timeout. (it is standard way). But i need a "listener" or a program within that servlet, that able to catch the server time out when it occured. How do i do that? Hope some of you may help me out!!! Only thing that i have in my mind is using IOException in service method. But i can't figure out how to start it. Thanks in advance. eric s.
If you can't change the direction the the wind, change your sail.
I think you better redesign your application - the browser - webserver architecture just does not work well when the response is delayed that long. You should think in terms of starting a separate worker Thread to do the long processing, with some sort of mechanism so the user can be updated periodically as to how things are going. Seems to me we have had a number of discussions of this sort of thing on this forum in the last few months. Bill