sevlet « Parameter « JSP-Servlet Q&A





1. How to pass more than 1 parameters into the sevlet???    coderanch.com

If I understand clearly what you are trying to do is to uplad a file; basically the value in the textfield fileName1 is the name of the file to be uploaded. I advice you get a handle to the JSP file say jspRef and use the method getFileName() ie jspRef.getFileName() to get the value of the text field fileName1...getFileName() returns a ...