jQuery in Action, 2nd edition*
The moose likes Servlets and the fly likes getStatus() method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "getStatus() method" Watch "getStatus() method" New topic
Author

getStatus() method

Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
can any one tell me y we have the getstatus method.What is the purpose of it?.
Regards,
Sangeetha


Regards,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
Idly Vada
Ranch Hand

Joined: Sep 02, 2003
Posts: 135
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

Joined: Oct 02, 2003
Posts: 108
Iam talking about the request interface which gives the status code
Regards,
Sangeetha
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
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?


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
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
Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
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.


Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getStatus() method