• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Upload Files with JSF and MyFaces: File over 1MB does not get uploaded

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have been using ExtensionsFilter in one of the application for uploading files under 20MB. Recently, I replaced RI with myfaces1.1.5 implementation and also upgraded the tomahawk1.1.3 to 1.1.6. Filter 'org.apache.myfaces.webapp.filter.ExtensionsFilter' is set in my web.xml file with 25m i.e. MB of maxFileSize.
Now the strange part comes. It's working properly if i upload files under 1MB but for the file over 1MB when i hit upload button, browser gives up right away and does nothing. It does not even go to server. I mean none of the perperty is being set and valueChangeListener method also not being called.

Is there anthing outside the scope of the application that's cause of this problem, I mean e.g. anything related to tomcat server settings? Please anyone guide me on this?

Regards,
Nasir
 
Villains always have antidotes. They're funny that way. Here's an antidote disguised as a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic