Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is there a way to tell JBoss to let the WAR load its own JSF libraries

 
Varun Nayudu
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is there a way to tell JBoss to let the WAR load its own JSF libraries
 
David Byron
Rancher
Posts: 175
Clojure Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Varun Nayudu wrote:
Is there a way to tell JBoss to let the WAR load its own JSF libraries


If, for example, you'd like to use MyFaces instead of the java.net implementation of JSF that comes with JBoss, then just include the following element in your web.xml:



This will instruct the classloader to make use of the libraries included in your WAR.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic