Prev Tutorial Next Tutorial

Why Use Servlet

Servlet is a java program, exist and executes in j2ee servers, used to received the http protocol request, process and send response to client.

Using Servlets, we can collect input from users through web page forms, present records from a database or another source, and create web pages dynamically.

Advantage of Servlet

  • Better performance:
  • Portability
  • Robust
  • Secure

Better performance: Because it creates a thread for each request not process (like CGI).

Portability: Because it uses java language and java is robust language.

Robust: Servlet are managed by JVM so no need to worry about memory leak, garbage collection etc.

Secure: Because it uses java language and java is a secure language.

Prev Tutorial Next Tutorial

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain,, @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: WhatsApp no. 8882538826

Yahoo Advertisements