Whats the difference between Applet and Servlet in JAVA
Applet runs on the client, servlet runs on the server. It's as simple as that.
More specifically, that applet is downloaded to the client, and executes in a JRE inside the browser, and can display whatever it wants to display within the applet frame. The servlet instead runs on the server and (generally) produces a HTML page which is displayed in your browser.