Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

HttpClient and sendRedirect

Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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??

I will suppress my every urge. But not this shameless plug:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic