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

Answer Posted / kunal

Just Use Reflection to get its SuperClass. If this super
class is Any of Servlet class like HttpServlet or
GenericServlet then this class is a servlet...

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain the advantages of servlet life cycle?

562


Explain is servlet mapping?

586


How do you invoke a servelt?

630


Describe servlet?

583


What do you mean by session tracking and also explain its techniques?

504






What is the life-cycle of servlets?

638


What are the life cycle methods of a servlet?

595


What are the different mode that servlets can be used?

558


What do you mean by servlet?

724


List out the difference between ServletConfig and ServletContext?

609


How do I support both get and post from the same servlet?

699


What are the benefits of using servlet over cgi?

582


How do you load an image in a Servlet?

662


What are the types of servlets? Explain

678


What is the directory structure of web application?

530