Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

store browser status code in Servlets

 
Naveen Garg
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
response.sendError(int sc)
[ September 30, 2003: Message edited by: Pradeep Bhat ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic