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

you using any upload libraries?

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....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.