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
Is dispatcher servlet a singleton?
What is a java servlet?
What are Servlets?
What do you mean by servlet context?
How can a servlet be used to generate plain text instead of html?
Explain servlet events?
Why doesn’t a servlet include main()?
How can the referrer and the target urls be used in servlet?
List out difference between a JavaBean from a Servlet?
Given the request path below, which are context path, servlet path and path info?
How servlets are deployed in java?
What is the purpose of inter-servlet communication?
what is servlet chaining?
What are session variable in servlets?
Why servlet is used as controller ? Not JSP? I want complete explation?