Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
ServletConfig Interface in servlets
ServletConfig interface:
For each servlet, an instance of this interface is created by the container. With the help of this instance, information can be fetched from the configuration file (web.xml).
Advantage:
You don't need need t...
Session tracking in servlets by using HttpSession
HttpSession Interface
It is one of the session tracking techniques.
It basically creates a session for each user and is used to maintain the request data and time interval of a particular. A user may give more than one requests at a particul...
Use of filters in Servlet
Servlet Filter:
Servlet Filter is used to filter the unnecessary requests that is received at the servlet end. It is used to perform tasks such as conversion, logging, compression, encryption and decryption, input validation etc.
It is call...
Servlet request processing by Web Server and Servlet container
1. Web Server
A web server is basically used to give the response to the request specified by the browser (user). It basically uses HTTP protocol for the transmission of data. eg. A user can request for some page by entering the web addres...
Prevent site from showing up in search results on Google, Bing and other search engines
Sometimes we need to prevent our testing.dev site from showing up in search results on Google, Bing and other search engines until we are ready to launch. We can do this by addting "X-Robots-Tag" paramet to header of the response.
Create filte...
What is servlet ?
Servlet is very powerful server side scripting language. It is a class which basically handle network request-response model. It is very powerful as we had earlier like CGI.
Basic Request-Rsponse Model
When browser send http request to jav...