Hi Support,
I want to use check_http
1: From Nagios call URL with parameter (eg: http://domain.com/index.jsp)
2: index.jsp: This page will do the redirect to http://domain.com/xyz.jsp. (response.sendRedirect("http://domain.com/xyz.jsp"))
Contents of index.jsp
-------------------------------------------------------
<html>
<%
System.out.println("In index.jsp");
%>
<script type="text/javascript">
document.location.href="http://domain.com/xyz.jsp";
</script>
</html>
Contents of xyz.jsp
-------------------------------------------------------
<html>
<%
System.out.println("In xyz.jsp");
%>
</html>
-------------------------------
I am able to see index.jsp is getting executed based on log message ("In index.jsp").
But I unable to see xyz.jsp is getting executed. Because it is not printing message "In xyz.jsp"
Hope I describe clearly.
Thanks