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
Write a program to show the functionality of servlets.
Why doesn’t a servlet include main()? How does it work?
Tell us something about servletcontext interface.
How native code can be used in a servlet?
How can the referrer and the target urls be used in servlet?
What is servlet and its advantages?
What is a cookie What is the difference between session and cookie
Write a command to get actual path of a servlet to the server?
Define declaration.
What is servlet name in web xml?
What are the types of Session Tracking ?
How we can get ip address of client in servlet?
How is the get () method different from the post() method?
What is a java servlet?
Servlet is pure java object or not?