Friday 18 July 2014

Request Object

The request object contains all the information from the client request. The request object contains all the information to process the request and send back the response to client.

Whenever Browser sends a request to the server, then browser send information like, what is the acceptable data for this browser( Ex: text/html,application/xhtml+xml,application/xml), Accept-Encoding (Ex : gzip), Accept-Language (Ex: en_US), Cookie, Host name etc.,

Servlet use this information while preparing and sending the response.

Install Firebug in Firefox Browser, By Using FireBug you can easily view the request headers and body.

Request Contents are:

Request Headers are:



Prevoius                                                 Next                                                 Home

No comments:

Post a Comment