• 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 using JSF

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic