• Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpClient and sendRedirect  RSS feed

Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

Any help??

When I was younger I felt like a man trapped inside a woman’s body. Then I was born. My twin is a tiny ad:
Why should you try IntelliJ IDEA ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!