Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Upload Files using JSF  RSS feed

 
Kenny McCormick
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I'm trying to implement upload file using primefaces or jsf.
I have an environment with WildFly 8, Primefaces 5.2, JSF 2.2 and Java 1.7. I implement one of the many examples available on the web (this in particular) and it works fine.

My problem, is when I tried to do the same in a different environment that used Jboss 4. Here, the listener function on the bean never was called.

Do you know if exists any constraint using jboss 4 and upload files of jsf ?.

Thanks
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Marcello!

The biggest difference in running JSF under JBoss is that unlike Tomcat, recent versions of JBoss have the JSF core built into them. So you would either not include a jsf-impl.jar in your WAR or you'd have to confgure your web.xml to ignore the built-in JSF implementation and use the one you supplied.

Details on this are on the jboss.org documentation site.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!