• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

getStatus() method  RSS feed

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can any one tell me y we have the getstatus method.What is the purpose of it?.
Regards,
Sangeetha
 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Sangeetha Vasantha:
can any one tell me y we have the getstatus method.What is the purpose of it?.


getStatus() method of which class or interface? Can you rephrase the question more precisely?
[ January 16, 2004: Message edited by: Murthy Narasimha ]
 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam talking about the request interface which gives the status code
Regards,
Sangeetha
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no "getStatus" method in any of the servlet or JSP API classes.
There is a "setStatus" in HttpResponse which is used to set the returned status code (e.g 404 for "not found", 200 for "success" etc.)
Can you give any more details of where you have seen this method used?
 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actualy Iam going a course in Servlet.Myfaculty tought me like that?.
When I asked Question as what I asked in this forum he was not able to
answer to me Question.That's y I asked this Question in this forum
Regards,
Sangeetha
 
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you should download javadocs for servet api. Its available on java.sun.com It will give u list of all the classes/methods with brief description.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!