Hi, This might be a general J2EE question rather than a Struts question. In our app we need to start some background java jobs upon a user request on a web based form. These jobs will execute for around 10 minutes. So once a user makes a request we need to kick off a job in the background from the action class and show a message to the user saying "Your job is executing". What is the best way of doing this? A couple of thoughts that we have on this is 1) To set some flag in our database upon the user's job request. Then have some unix script run every 5 minutes to check for that flag 2) Start a thread in our action class to execute the job.
Any thoughts on what could be a better approach or has anyone done something similar using some other methodology? Thanks, Gaurav -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>