Hi,

I need help to save an image file through JSP page or servlets. I have a html form that has a file input control to accept from the user an image file name along with other details. This form has the path of action set to a JSP/servlet page. Here I get the data through the request parameters. I get the File too here. I have tried accessing the file if it a text file. The problem that I have is I want Image file to be saved at the web server. Will the general file writing routines help me in creating the file by reading from this recieved file as input stream. Or is there any other way (simple way) to read the image file and save on web server.
In simple words I want to upload an image file.

Sandhya.