wood burning stoves*
The moose likes Servlets and the fly likes store browser status code in Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "store browser status code in Servlets" Watch "store browser status code in Servlets" New topic
Author

store browser status code in Servlets

Naveen Garg
Greenhorn

Joined: Nov 25, 2002
Posts: 3
Hi,
I want to set the status code(i.e. 200,400)(from browser)in my servlet when I call from this servlet to other servlet.
I enable to get the status code when this servlet calls other call.
If anybody tell me then I will be greatful.
Thanks
Naveen Garg
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

response.sendError(int sc)
[ September 30, 2003: Message edited by: Pradeep Bhat ]

Groovy
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: store browser status code in Servlets
 
Similar Threads
sendError() and setStatus()
Servlets
Hit A Servlet From an Applet with values in the URL for the Servlet
Locating a file from servlet using a relative path
Swing design possible to integrate with servlet