Course Overview
Servlets Training Details
-
Duration35-40 houres
-
TypeOnline Training
-
IncludesCourse Meterial
The servlet is a Java programming language class used to extend the capabilities of a server. Although servlets can respond to any types of requests, they are commonly used to extend the applications hosted by web servers, so they can be thought of as Java applets that run on servers instead of in web browsers.These kinds of servlets are the Java counterpart to other dynamic Web content technologies such as PHP and ASP.NET. Technically speaking, a "servlet" is a Java class in Java EE that conforms to the Java Servlet API, a standard for implementing Java classes which respond to requests. Servlets could in principle communicate over any client–server protocol, but they are most often used with the HTTP protocol. Thus "servlet" is often used as shorthand for "HTTP servlet".[3] Thus, a software developer may use a servlet to add dynamic content to a web server using the Java platform. The generated content is commonly HTML, but may be other data such as XML. Servlets can maintain state in session variables across many server transactions by using HTTP cookies, or URL rewriting.
- Training by Realtime Expert trainer
- Live Online Classes
- Free study material
- Online virtual Classes available in morning, evening and weekend
Prerequisties
- All attendees have good understanding of the Java programming language. It will be great if you have a basic understanding of web application and how internet works.
Duration
Online- The format is 40% theory, 60% Hands-on.
- It is a 20 days program and extends up to 2hrs each.
- The format is 40% theory, 60% Hands-on.
- It is a 5 days program and extends up to 8hrs each.
- Private Classroom arrenged on request and minimum attendies for batch is 4.
Course Content
- SERVLETS – OVERVIEW
- Servlets Tasks
- Servlets Packages
- SERVLETS – ENVIRONMENT SETUP
- Setting up Java Development Kit
- Setting up Web Server: Tomcat
- Setting Up the CLASSPATH
- SERVLETS – LIFE CYCLE
- The init() Method
- The service() Method.
- The doGet() Method
- The doPost() Method
- The destroy() Method
- Architecture Diagram
- SERVLETS – EXAMPLES
- Sample Code
- Compiling a Servlet
- Servlet Deployment
- SERVLETS – FORM DATA
- GET Method
- POST Method
- Reading Form Data using Servlet
- GET Method Example using URL
- GET Method Example Using Form
- POST Method Example Using Form
- Passing Checkbox Data to Servlet Program
- Reading All Form Parameters
- Servlets – Client HTTP Request
- Methods to read HTTP Header
- HTTP Header Request Example
- SERVLETS – SERVER HTTP RESPONSE
- Methods to Set HTTP Response Header
- HTTP Header Response – Example
- SERVLETS – HTTP STATUS CODES
- Methods to Set HTTP Status Code
- HTTP Status Code Example
- SERVLETS – WRITING FILTERS
- Servlet Filter Methods
- Servlet Filter – Example
- Servlet Filter Mapping in Web.xml
- Using Multiple Filters
- Filters Application Order
- SERVLETS – EXCEPTION HANDLING
- web.xml Configuration
- Request Attributes – Errors/Exceptions.
- Error Handler Servlet – Example
- SERVLETS – COOKIES HANDLING
- The Anatomy of a Cookie
- Servlet Cookies Methods
- Setting Cookies with Servlet
- Reading Cookies with Servlet
- Delete Cookies with Servlet
- SERVLETS – SESSION TRACKING
- Cookies
- Hidden Form Fields
- URL Rewriting
- The HttpSession Object
- Session Tracking Example
- Deleting Session Data
- SERVLETS – DATABASE ACCESS
- Create Table
- Create Data Records
- Accessing a Database
- SERVLETS – FILE UPLOADING
- Creating a File Upload Form
- Writing Backend Servlet
- Compile and Running Servlet
- SERVLET – HANDLING DATE
- Getting Current Date & Time
- Date Comparisons
- Date Formatting using SimpleDateFormat
- Simple DateFormat Format Codes
- SERVLETS – PAGE REDIRECTION
- SERVLETS – HITS COUNTER
- SERVLETS – AUTO PAGE REFRESH
- SERVLETS – SENDING EMAIL
- Send a Simple Email
- Send an HTML Email
- Send Attachment in Email
- User Authentication Part
- SERVLETS – PACKAGING
- Creating Servlets in Packages
- Compiling Servlets in Packages
- Packaged Servlet Deployment
- SERVLETS – DEBUGGING
- System.out.println()
- Message Logging
- Using JDB Debugger
- Using Comments
- Client and Server Headers
- Important Debugging Tips
- SERVLETS – INTERNATIONALIZATION
- Detecting Locale
- Languages Setting
- Locale Specific Dates
- Locale Specific Currency
- Locale Specific Percentage
- SERVLET – ANNOTATIONS
- @WebServlet
- @WebInitParam
- @Webfilter
Course Calender

18th November
Monday
7:00 AM IST
Enroll Now

22nd November
Friday
7:00 AM IST
Enroll Now
Review
Score Breakdown
4.6 / 5.0
90% recommend this course
Score Breakdown
-
(58)
-
(132)
-
(89)
-
(58)
-
(9)
Average Rating For
- Content 4.5
- Knowledge 4.5
- Assignment 4.2
- Institute 4.3
- Instructor 4.4
-
Vishal Malik
26/10/2019
I have received training in Servlets from Ecorp and everything worked out well for me. Great trainer and training material and a really good project. I have got valuable knowledge here in Servlets and gave me a lot of confidence.
-
Kaviraj
21/10/2019
Ecorp trainings trainer is exceptionally knowledgeable in Servlets and Configuration training and did a great job in explaining through real-time examples and assignments.