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

Is servlet synchronized?

812


How can we upload the file to the server using servlet?

748


What is the use of servlet wrapper classes?

888


What is the use of welcome-file-list?

764


What do you mean by cgi?

714


What are the functions of the servlet container?

1321


What is the difference in between the httpservlet and generic servlet?

853


What’s the use of the servlet wrapper classes??

841


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

1154


How printwriter is different from servletoutputstream?

774


What is servlet and its life cycle?

825


What is a java servlet?

771


Why do we use sendredirect() method?

739


Can we override destroy method in servlet?

716


How can you run a servlet program?

798