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
What is a web application and what is it’s directory structure?
What’s the difference between genericservlet and httpservlet?
Why do you use session tracking in httpservlet?
What is a cookie What is the difference between session and cookie
What are the servlet events?
What does the term localization refer to?
Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!
List out difference between a JavaBean from a Servlet?
What is the use of request dispatcher interface?
What's the servlet interface?
Can you use javascript in servlets?
Explain session tracking and its importance?
How is the get () method different from the post() method?
how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file
Why do we have servlet listeners?