Why request.getParameter(

Why request.getParameter(

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...









Related Tutorials/Questions & Answers:

Ads