What is the difference between an applet and a servlet?

Answer Posted / pranavbapat

Applet is for a browser.
Servlet is for server.

Applet has GUI.
Server has no GUI.

Applet is client side coding.
Servlet is server side coding.

Applet operates within the domain of a web browser.
Servlet operates within the domain of a web server.

With applets, only static web pages can be developed.
With servlets, dynamic web pages can be developed.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a servlet context object?

624


Can you use javascript in servlets?

604


What's the advantages using servlets than using cgi?

557


What are the servlet events?

594


What is the use of servlet wrapper classes?

673






What is servlet mapping?

603


What is the use of servlet context?

536


What is servlet and its life cycle?

572


What is servlet and its use?

627


Explain their methods? Tell me their parameter names also have you used threads in servlet?

585


What is the capacity the doget can send to the server?

578


What are the different methods involved in the process of session management in servlets?

671


How do you invoke a servelt?

628


Elucidate servlet attributes and its scope?

570


Define the servlet mapping.

548