mardi 9 juin 2015

file upload via h:inputfile (prettyfaces) does not work

i'm trying to upload a file to the glassfish application server (v4.1) via h:inputfile. xhtml-file and bean are prepared as almost every example in the web shows.

i tried with and without Pretty Filter in web.xml, allowCasualMultipartParsing in context.xml, and a handful of other possible workarounds. none of them seemed to work (i.e. i can't read the file properties inside the bean).

is there a solution that works 100%?

Aucun commentaire:

Enregistrer un commentaire