if u havea .class file ,how can u say whether it is servlet
or not ,dont use java decompliler

Answer Posted / mamta

when we open .class file if it contain
javax/servlet/Servlet ,javax/servlet/http/HttpServlet
this shows it is a servlet

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What if we pass negative value in load-on-startup?

1053


How to rectify errors in java servlet while compilation?

727


Why do we have servlet listeners?

821


Tell us something about servletcontext interface.

851


What are all the protocols supported by httpservlet?

906


What is context in servlet?

784


What is the servlet?

850


What mechanisms are used by a Servlet Container to maintain session information?

910


How will two or three servlets interact or communicate with each other?

1178


What are the advantages of servlets over traditional cgi?

840


What is servlet invoker?

795


What are the features added in Servlet 2.5?

982


Why servlet is used as controller ? Not JSP? I want complete explation?

912


How do you get the ip address of the client in servlet?

770


How native code can be used in a servlet?

3761