This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Problem with File uploading from popup  RSS feed

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!