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

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -