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
posted
0
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
posted
0
Iam talking about the request interface which gives the status code Regards, Sangeetha
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
posted
0
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?
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
posted
0
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"