Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / amitasite

1) Use Reflection API
2) Configure web.xml and configure <servlet> and <servlet-
mapping>. Send request to the URL. If it is not servlet
then will throw exception like
javax.servlet.ServletException: Class
com.request.TestServlet is not a Servlet

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet mapping?

978


What is the purpose of requestdispatcher interface?

1007


What do you mean by session tracking and also explain its techniques?

913


What are the advantages of servlets over traditional cgi?

1046


What do you mean by interservlet communication?

1018


Define the servlet mapping.

988


How the servlet is loaded?

1023


How to commuincate between an applet and a servlet?

997


What are the disadvantages of storing session state in cookies?

1102


Can you refresh servlet in client and server-side automatically?

1035


What methodology can be followed to store more number of objects in a remote server?

2223


Can filter be used as request or response?

926


Which interface should be implemented by all servlets?

1173


What is meant by servlet? What are the parameters of the service method?

970


What is Client-Server Computing?

2359