Skip to main content

Servlet and JSP

Dynamic websites using Java Framework 

Earlier most of the dynamic websites were created using java framework like
  • Servlet
  • JSP
But these methods of creating dynamic websites are quite outdated now.


Servlet

  • It is a java framework used to create dynamic websites.
  • There could be many servlets handling different aspects of the websites.
  • All these servlets are hosted on a servlet container.

JSP - Java Server Page

It is a java framework used to create dynamic websites.
It is similar to servlet but there exists some differences like
  • Servlet has html code into java code whereas JSP has java code into html

Comments

Popular posts from this blog

HTTP-Hyper Text Transfer Protocol

HTTP It is a protocol used for communication between client and server for exchanging data over network. Working :- Client sends a request to Server Server process the Client's request Server responses to Client's request by sending a reply HTTP Request-methods There are different ways in which a client can send request to a server called request methods. Request-methods are :- GET       - retrieve an existing file  PUT        - upload file POST      - request to create a new file DELETE  - remove an existing file