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
How servlets are deployed in java?
Explain the architechure of a servlet?
Elucidate servlet attributes and its scope?
What are the functions of the servlet container?
What is preinitialization of a servlet?
How can the session in servlet be destroyed?
How to handle exceptions thrown by application with another servlet?
Difference between forward() method and sendredirect() method ?
Can we fetch the attributes related to a servlet on a different servlet?
What are the different methods involved in generic servlet?
What is java servlet?
When a servlet accepts a call from a client, it receives two objects. What are they?
What are the difference between session and cookies in servlet? Explain
What is MIME Type?
Write all the phases defined in servlet life cycle?