ASP is a server side technology which enables a developer to combine both HTML & scripting language in the same page.
servlets are server side programs written in java.It is platform independent
Chat with our AI personalities
The main difference between ASP and JSP is that JSP is more script like and includes Java, whereas ASP does not. Both of these are server side languages.
The difference is that a GenericServlet has no defined protocol (it is "generic"), while HttpServler uses the HTTP protocol. HttpServlet is a subclass of GenericServlet with the purpose of creating a servlet for a web site.
You cannot. HTML is a static file and it cannot interact with a Java Servlet. A Servlet can always redirect to a HTML page but the other way round cannot happen.
Applet: It is run on browser, i mean client side. Servlet: It is run on server, i mean server side.
CGI creates process for each client call where as servlet creates process for the first time and then uses thread for each client.