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
Explain the jar and war files in servlet?
Explain get and post.
What is servlet instance?
How does java thread pool work?
How many servlet objects are created?
What is difference between get and post method?
What is meant by session? Tell me something about httpsession class?
What are the types of protocols supported by httpservlet ?
How to generate the server side programming and the advantages of it over the other languages?
What are Servlets?
How are filters?
What are the various ways of session supervision in servlets?
What is the difference between sendredirect() and forward() in a servlet?
Why HttpServlet class is declared abstract?
What is URL Encoding?