I have a schedule program which takes a task string being some program or servlet and needs to be able to run the program or task in the background in it's own thread.
 
The problem is that in this case the servlet is not being executed through a browser, a jsp page, or from another servlet.
 
I was wondering if anybody had used or tried another way of running a servlet. I do have an instance of the starting servlet that starts up the background scheduler, so I have access to that servlets methods and the servlet context and servlet config. I am actually trying to get the URL using the servlet instance.getServletContext().getResource(task); I have no idea if this will work and what I can then do after I have created the URL object.
 
Any ideas?
 
 
Nathan.
--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


Reply via email to