ServletRequest
interface provides below methods to read the body in the request.
getInputStream()
getReader()
Note:
if
the parameter information came in as encoded POST data, it
may not be available if the POST data has already been read manually
using the
getReader()
or
getInputStream()
method
of ServletRequest
(because
POST data can be read only once).
No comments:
Post a Comment