Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 24197, RequestParser

by Jun Inamori Email: Anonymous


This API plays a role of glue between the MVC (Model-View-Controller).
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For JBuilder, Version 12.0  to 13.0 21 downloads
Copyright: All rights reserved


Size: 112,932 bytes
Updated on Mon, 30 Oct 2006 11:42:06 GMT
Originally uploaded on Mon, 30 Oct 2006 11:42:06 GMT
SHA1 Hash: 0474FE88EF22C4B07C43DB2EB469CB89E6C76321
MD5 Hash: 4D76785801B79BDEC6ACC9BE47302D75

    Explore the files in this upload

Description
When your JSP/Servlet receives a set of the HTTP request parameters, it is common to call:
* HttpServletRequest.getParameters(String name)
(or its variants) for your JSP/Servlet to get their values. Because the HTTP request parameters are sent in the form of URL-encoded String, the above method includes the repeated conversion between the String and byte arrays behind the scene. But, as you know, the JSP/Servlet specification (at least, up to Version 2.4) does not define the methods to get the request parameters in the intermediate stage. Because only the request parameters in the form of the decoded String (that is the original String) are human readable, we tend to think that we always need them. But, in fact, it is not always true. There are the cases that the URL-encoded String or the byte arrays are enough. This Java API implements the methods for getting the request parameters in any stage.

For more information, see http://www.bentofw.com/reqparser2.html

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03