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 should be implemented by all servlets?
Define servlet mapping?
Explain the difference between get and post method in servlet?
Which java application server is the best?
Can you use javascript in servlets?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
Can you refresh servlet in client and server-side automatically?
What are the type of protocols used in httpservlet?
What is the use of servlet wrapper classes?
What is the advantage of Servlets when compared with other server side technologies?
What are the mechanisms used by a servlet container for maintaining session information?
How forward () method is different from send redirect () method?
Differentiate between the web server and application server?
Why servlet is faster than jsp?
What are the servlet events?