Online Hibernate Training just in Rs. 1000

One week online training in Hibernate ORM framework. Learn Hibernate Framework and enhance your skills. Best Online Hibernate training at 90% discount. Join Now!! Offer is valid Only for limited Period!!! Online Training Big Data and Hadoop Training Java Training  

Why request.getParameter(



Share on Google+Share on Google+

Mahesh Jagadale
Why request.getParameter(
2 Answer(s)      5 years and 9 months ago
Posted in : JSP-Servlet

Hi all,

I want to to do upload file in my folder and that time i want to store date in my MySQL Database.

Here uploading file is working but data not store in database because my form field value gives null value.

Actually problem is i assign form field parameter value to variable then it return as null. ex. request.getParameter("demofield") gives null value

I give to form is <FORM ENCTYPE="multipart/form-data" ACTION="" METHOD="POST">

why it happen? Anybody plz help me.. i want use it my project...plz plz

View Answers

November 14, 2011 at 5:04 PM

Please visit the following link:

JSP file upload with date

November 14, 2011 at 8:45 PM

Thanks, for reply but its not working... i use request.getParameter("demofield"), and it returns null value.

plz give me simple solution...