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

What is servlet name in web xml?

783


What is war file?

800


How do you load an image in a Servlet?

897


what is servlet chaining?

851


What do you mean by cgi?

731


The code in a finally clause will never fail to execute, right?

835


What are the kinds of http requests?

818


Explain the war file?

856


Why session tracking is needed?

805


What is the difference between 2 types of servlets?

888


What are the functions of the servlet container?

1352


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

2746


What's the use of servletcontext?

904


Can you call a jsp from the servlet?

771


How do we share data using 'getservletcontext ()?

783