Bear Bibeault wrote:You cannot use the getParameter family of methods with multipart forms.
Are you using a 3rd-party library to process the uploaded form?
I am using this kind of method to handle the uploaded form as well as the file uploaded.
How to upload file in JSP
What's the any other advise for retrieving the textbox value?
Bear Bibeault wrote:Yes, don't do it yourself. See the JspFaq for libraries that will do it for you. See http://www.coderanch.com/how-to/java/FileUpload
All right, I had apply the approach of using Apache Common FileUpload to retrieve the value of the textbox.
So, I did download and paste the .jar file into the Project's lib and apply the import statement.
Then I am trying the retrieve the value from the textbox.
P/S: Variable desc is declared as global variable.
And the error I got once I execute the program.
Thanks for the future advise.