HttpServletRequest « Post « JSP-Servlet Q&A





1. How to retreive raw post data from HttpServletRequest in java    stackoverflow.com

I'm trying to get the post data in Java. Seems like it should be one of the simplest things to do right? I mean, HttpServletRequest.getParameter has to do it right? So ...

2. Why does getAttribute() in HttpServletRequest works for GET method but not for POST method?    stackoverflow.com

I'was debugging a client-side AJAX problem that is making request to servlet. But the bug turned out to be at server side. You can refer to my original question here. ...

3. Read a file post in httpServletRequest    stackoverflow.com

I have a html page like this :

<FORM METHOD="POST" ACTION="http://localhost:8080/Appli/page/public/envoiPjExterne.seam"  enctype="multipart/form-data">
     <input type="file" size="70" name="file" /><br />     
    ...