I want to upload file to database with its full path. Because of the security reasons, the browsers provide only the file name when using normal file type.I am in need to get the full path. Can anyone help me to get the full path by using commons fileupload jar file or using other options? Its urgent. Thanks in advance.
we use getContextPath() to get the full path,which one u upload