Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ServletRequest Interface

Posted on 2014-03-26
1
Medium Priority
?
292 Views
Last Modified: 2014-04-24
ServletRequest Interface


An object of ServletRequest is used to provide the client request information to a servlet such as content type, content length, parameter names and values, header informations, attributes etc

I was reading as above. i wonder how the content length, header information, attributes comes under client request information(which is passed to servlet).
please advise
Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
1 Comment
 
LVL 36

Accepted Solution

by:
mccarl earned 2000 total points
ID: 39957825
The servlet container is what receives the incoming packets of data (via the network) from the client (say a web browser). So it reads these packets to get the "content type, content length, parameter names and values, header informations, attributes" details, then it creates an object (Servlet Request, or more precisely, an object that implements ServletRequest) and populates this object with all these details that came from the incoming data packets. Finally, that object gets passed to the configured servlet, for it to do whatever it needs to do.

Does that clear things up for you?
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question