3. From Forward.jsp able to successfully route to Custom SlingServlet.
4. In Custom Sling Servlet I have the following requirement.
a. Get all request parameters
b. Send the request to third part application by using HttpClient
c. On response equals to 200 rout the servlet to Thank you page.
Right now I have 2 issues.
1. In HttpClient I am able to pass the request data if I hard code the value , but if I try to submit it by dynamically populated to NameValuePare Array even though values are there it is not getting processed.
2. Once I have response as 200 I am not able to route the servlet to "Thank you page" , but getting the following exception.