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

Answer Posted / reddy

when we open the .class file
it my contains something like
;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/
HttpServletRespons

where as simple java .class file will not contain this

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define the servlet mapping.

548


How to get the server information in a servlet?

685


What is Servlet API used for connecting database?

618


Which httpsession object is used to view and manipulate information about a session?

730


What is setattribute in servlet?

554






Explain jsessionid?

619


How can you create a session in servlet?

596


Explain how does JSP handle run-time exceptions?

580


What do you mean by request dispatcher in servlet? Also explain its methods.

607


What is cgi and what are its drawbacks?

553


What are different Authentication options available in Servlets.

565


What is pure servlet?

696


Describe the phases of servlet lifecycle?

632


What are the differences between servlet context vs servlet config?

578


Explain the steps involved in placing a servlet within a package?

571