jQuery in Action, 2nd edition
The moose likes Portals and Portlets and the fly likes Problem with File uploading from popup Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Problem with File uploading from popup" Watch "Problem with File uploading from popup" New topic
Author

Problem with File uploading from popup

Durga Krishna
Greenhorn

Joined: Apr 05, 2007
Posts: 28
Hi Guys,

I was strucked with one problem in my application.
My problem is,I have a button with name 'AddFile' in my porlet.
When i click on the button, a pop up will be opened.
From that popup window, i will choose a file(using <input type = "file" name="file" > form local drive, and i will click on 'file upload' button.I am using spring's MultipartHttpServletRequest in my controller.When i click on 'file upload' button, the whole page(not the popup) is getting refreshed.File is not uploading...but...After that i removed my popup,and i added the whole popup form in the portlet(by taking a div in my porlet) itself(now popup content is in the portlet).. and i opened firefox..then i clicked on 'file upload' button..now the file is getting uploaded.the same is not working in IE.

I was totally confused, and was strucked since 2 weeks.

Can any one solve my problem.

Thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with File uploading from popup
 
Similar Threads
An error occurred while accessing the requested resource.
Pop ups in jsr 168 portlet
different popups for different browser session?
Problem in Uploading Files
Error uploading file in Mac OS