Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 8903

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

Groovy
 
I agree. Here's the link: http://aspose.com/file-tools
 
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