Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read the content from response.sendRedirect

 
srikanth darbha
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Code Ranch,

I require an urgent help regarding the below scenario,

I have a url "http://localhost:8080/xyz/companies/printECF" i need to redirect this and i want to read the html content from the reponse ,

can anyone please suggest me on this as response.sendredirect does not return any value

Urgent help please help me on this...............


Regards,
D.Srikanth
 
Tim Moores
Bartender
Posts: 3135
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand what you're trying to achieve. The response will be available to the client for processing; if for some reason the servlet needs access to the content of some URL, it should open an UrlConnection and read it directly.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65338
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And EaseUp.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic