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
What do you mean by cgi?
What is the difference between sendredirect() and forward() in a servlet?
Explain servlet life cycle?
What are the exceptions thrown by servlets? Why?
The code in a finally clause will never fail to execute, right?
Explain the difference between generic servlet and http servlet?
What is the use of java servlet api?
Differentiate between the get and post method
What are the different ways we can maintain state between requests?
What is the use of httpservletresponsewrapper?
Servlet is pure java object or not?
Why do you use session tracking in httpservlet?
What do you mean by web applications? Explain web application directory arrangement?
What is the major difference between context parameter and context attribute?
Explain how does JSP handle run-time exceptions?