Hi,
I write a servlet to upload a file from html page
<intput type=file name=fileupload>
I am using
import org.apache.commons.fileupload.
to upload file. i want to get the all fields in the form and file name and content of the file also.
It give the file name only
String filename= fileItem.getName();
o/p krish.jpg
But i want complete path naem like
d:/krishna/images/funny/krish.jpg
I serach the API org.apache.commons.fileupload.*
But i did nt find the method to get it.
plz help me , which api or method to use here..