• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Nasir Mkhan
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!