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
Which interface must be implemented by all servlets?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
What do you mean by the servlet chaining?
What is a web container and what is its responsibility?
What is the procedure of invoking different servlet in a different application?
What is the difference between CGI and Servlet?
What exactly are the functions of servlet?
What is servlet used for?
What are the annotations used in servlet 3?
What is servlet in simple terms?
What are the features added in Servlet 2.5?
How can we implement a jsp page?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
How do you load an image in a Servlet?
What is servlet in web technology?