HttpServletRequest « Tomcat « JSP-Servlet Q&A





1. java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest    stackoverflow.com

I'm developing a servlet that receives a multipart request with content of multiple files, and I'm using apache commons file upload libraries. When I call parseRequest(request); method servlet throws following exception:

GRAVE: Servlet.service() ...

2. Problem with HttpServletRequest & Apache    stackoverflow.com

Hi all when i tried to get the requested url on some page on myapp.com i get something like : http://127.0.0.1:8084/myapp/mypage and it was expected to be: http://myapp.com/mypage i think that this is ...

3. Why am I getting a NoClassDefFoundError on HttpServletRequest that is pointing to ServletFileUpload?    stackoverflow.com

I recently started using JMeter to load test my webapp, locally on my pc. I have a jsp page for uploading images. The images are processed by my servlet. When I ...

4. Getting a value from HttpServletRequest.getRemoteUser() in Tomcat without modifying application    stackoverflow.com

(Using Java 6 and Tomcat 6.) Is there a way for me to get HttpServletRequest.getRemoteUser() to return a value in my development environment (i.e. localhost) without needing to modify my application's web.xml ...