if u havea .class file ,how can u say whether it is servlet
or not ,dont use java decompliler

Answer Posted / reddy

when we open the .class file
it my contains something like
;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/
HttpServletRespons

where as simple java .class file will not contain this

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the phases of the servlet life cycle?

614


What are the types of an http request?

585


How can an existing session be invalidated?

666


Who is responsible to create the object of servlet?

722


Is it possible to have a constructor inside the servlet?

554






What are the new features added to servlet 2.5?

596


What is pure servlet?

699


Explain jsessionid?

622


Can we override destroy method in servlet?

506


Explain the concept of ssi ?

595


How are filters?

585


What do you mean by cgi?

534


What are common tasks performed by Servlet Container?

771


What is the disadvantage of cookies?

582


How many objects of a servlet is created?

796