• Post Reply Bookmark Topic Watch Topic
  • New Topic

Read the content from response.sendRedirect

 
srikanth darbha
Ranch Hand
Posts: 50
  • 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
Saloon Keeper
Posts: 3260
54
  • 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
Posts: 65524
105
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
Boost this thread!