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...

What is the difference between an applet and a servlet?

Answer Posted / radhika

APPLETS:
1)It is a special type of java program which runs
on any web browser.
2)Applets resides at server but when client makes a
request it completely loaded into a place in the browser.
that place is known as SAND BOX.
3)Applet lives inside the sand box only. it does'nt
have any access to any things which exists out side of the
sand box.
4) Applets can't communicate with any other server
except where they resides.
5)Applets are useful to develop the static web pages.

SERVLETS:

1) Servlet is a purely server side program
2) Servlets always runs in the server.
3) Servlets can be placed in any web and
application servers.
4) Servlets are useful to develop the dynamic web
pages.

Is This Answer Correct ?    107 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain jsessionid?

1040


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

1029


Describe in brief RequestDespatcher?

1139


Explain the methods of request dispatcher in servlet?

1049


Define declaration.

1077


What is the element?

1051


Explain how does JSP handle run-time exceptions?

1096


What do you mean by mime type?

977


What are the different methods involved in generic servlet?

1095


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

1103


What are common tasks performed by Servlet Container?

1262


How to get the path of servlet in the server?

1013


How can you start a jta transaction from a servlet deployed on jboss?

1166


What is the directory structure of a war file?

1170


What are the functions of the servlet container?

1628