• Post Reply Bookmark Topic Watch Topic
  • New Topic

URL Redirect  RSS feed

 
iceman
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With out using HttpServletResponse, how would you do a url redirect with java.net.URL or HTTPClient?
Thanks for any help
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iceman:
Welcome to JavaRanch! We know you will enjoy your stay here. However, we have a simple username policy which is fully explained at: http://www.javaranch.com/ubb/Forum10/HTML/000180.html .
Please re-register and come back!
Thanks,
---
Sheriff Tony
PS: I couldn't find the HTTPClient class in Sun's doc.
 
Ray Smilgius
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This httpClient is in another package from another company it is open source.......
Heres the link great package alot more functionality at the lower level.
http://www.innovation.ch/java/HTTPClient/
------------------
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As an aside, you can include or forward other JSPs/Servlets through the RequestDispatcher.
For example ...

Simon
------------------
Simon Brown
Co-author of Professional JSP 2nd Edition
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!