String fileToBeRead = "C:/Documents and Settings/Developer/Desktop/Anand exmps/Anand.xls";
I have completed a java program in which the location of a file is assigned to a string as above.
But what actually is required is, the end user should select the location of file in a JSP form that is developed using <input type="file" name="file"/>
tag for file selection.
My query here is how can I make the location of the file that the user selects in the JSP form to be passed to the JAVA program that I have written already.
Gimme some ideas regarding the same. Thanks in advance. Since am a beginner in Java, elaborate answers will really help in my procedings.