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
Please visit the following link:
Thanks, for reply but its not working... i use request.getParameter("demofield"), and it returns null value.
plz give me simple solution...