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
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.