posted 20 years ago
Thanks for your question.
The reason I need to call a servlet from jacl command is that: I have another independent programm running and needs to notify my web application of some important events. That program will run the jacl script file to do this.
I am just learning jacl. As I understand, jacl command can call methods on any object in the same jvm. If so, I need to know the web container object name and the appropriate method to call. Or more simple, can the jacl send a http request to the web container?
Anther simple solution would be to use a static flag and jacl script can set this flag. My web application will check this flag every time a new request come and decide on the action depending on the value of the flag
.......
I Hope to receive an advice from you.
Thanks