I am using HttpClient to post xml files from my servlet to a jsp. My application is designed in such a way that have a big XML which I parse and get smaller XMLs and loop through them posting each smaller XML to a JSP. This part works fine.
Now, after I post the XML to my JSP I want to do a to another URL where I do some processing and then return the control back to the servlet which does the posting.
But once I post the XML to the JSP using HttpClient response.sendRedirect doesn't seem to be redirecting me to the other JSP.