954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Jsp File Upload problem in firefox 3

Hi

I'm developing an application using jsp.In that i want to upload a file and insert the datas from that into database. I'm using file type input box to upload file. Its working fine in IE,but getting problem while running in Firefox 3.Bcoz of the security purpose,I cant get the full path of the file name I'm trying to uploaded.Can anyone plz help to get the full path of the file uploaded in jsp page????

Thanks in advance.

Regards,
Saranya

vsaransweety
Newbie Poster
2 posts since Mar 2010
Reputation Points: 10
Solved Threads: 0
 

you using any upload libraries?

ejosiah
Junior Poster
188 posts since Feb 2008
Reputation Points: 72
Solved Threads: 23
 
you using any upload libraries?

Hi

Thank You for your reply.Yeah.. Im using commons-fileupload Jar file to upload files. And now I can get the full path of the file uploaded using jsf in ff3 itself. I just added a single line to get the full path,

File f =item.getFile() will get the full path of the file uploaded and I pass the file object as argument in my program wherever I want to retrieve the datas from the file.

Thank You for your reply....

vsaransweety
Newbie Poster
2 posts since Mar 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You