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 can the referrer and the target urls be used in servlet?
What is servlet and list its types?
What is dispatcher servlet?
What are the type of protocols used in httpservlet?
Which interface should be implemented by all servlets?
Difference between java beans & servlets?
What are the uses of servlet
Why do we have servlet wrapper classes?
Can we override destroy method in servlet?
What is ServletConfig object?
What is the capacity the doget can send to the server?
What is a java servlet?
How do I use cookies to store session state on the client?
Name the different ways of session tracking.
How the servlet is loaded?