Getting response by invoking a Servlet from a linux shell script -
there requirement invoking servlet shell script using wget command. servlet performs job of generating report , sends email list of users.
as planning schedule job, find out if servlet completed or not. if there exceptions thrown servlet, find out shell script , thereby mark job success or failure.
can provide solution this...?
the servlet should reply 500 internal server error status code if there unhandled exception. check if wget permits identifying http response status code in way.
Comments
Post a Comment