It's not a secret anymore!*
The moose likes Servlets and the fly likes servlet to receive and forward HTTP status. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet to receive and forward HTTP status." Watch "servlet to receive and forward HTTP status." New topic
Author

servlet to receive and forward HTTP status.

kenji kunoichi
Ranch Hand

Joined: Jun 02, 2007
Posts: 44
I am trying to make a servlet which will receive 'HTTP 302 Found' from a server and if it is HTTP 302 Found then it will forward HTTP 200 OK to another server. But with what api I can do this ?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60741
    
  65

Hmm, this is pretty much the same question as here, and posted from the same IP address. Are you posting from more than one account?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Charles 'King
Ranch Hand

Joined: Jul 05, 2009
Posts: 56

Take a look here: http://download.oracle.com/javaee/5/api/javax/servlet/http/HttpServletResponse.html
 
Don't get me started about those stupid light bulbs.
 
subject: servlet to receive and forward HTTP status.
 
Similar Threads
about servlet making
where is IllegalStateException ??? :)
How To Redirect to jsp from another jsp
servlet message forwarding
Could i use an EJB as a controller just like we use servlet in MVC????