Reply To: Problem with h:inputFile

Splash Forums Rewrite Users Problem with h:inputFile Reply To: Problem with h:inputFile

#25137

ecs
Participant

Hi Chriasitan,
thank you very much for your quick solution! Unfortunately I wasn’t able to get it to work with Glassfish 4 yet. I created a context.xml in src/main/webapp/META-INF/context.xml as descriped in the Glassfish Development Guide Section 7-32 (https://glassfish.java.net/docs/4.0/application-development-guide.pdf) and added

<Context allowCasualMultipartParsing="true">
  <!-- no content required -->
</Context>

When I try to upload a file I have the same behavior as before. The action and the setter are not invoked.

Any ideas?