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

If servlet receives multiple requests, how many objects will it create?

833


What is servlet instance?

544


What do you mean by httpservlet and how it is different from the genericservlet?

542


What is servlet container?

667


How to upload a file to the server using servlet?

535






Explain web application directory arrangement?

593


How are filters?

586


What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?

605


How do we go with database connection and log4j integration in servlet?

710


What is meant by session? Tell me something about httpsession class?

605


How to get the IP address of client in servlet?

633


What is the type of method for sending request from http server?

598


Can you call a jsp from the servlet?

548


What is difference between cookies and httpsession?

548


What are life cycle methods of a servlet?

590