0

Is it possible to use Facelets files in my web application from a JAR that I have included in /WEB-INF/lib?

Structure is like this:

  • web module
    • WEB-INF
      • lib
        • common-component.jar
    • pages
      • index.xhtml

Is it possible to serve pages from common-component.jar as well as pages from the web module itself?

4
  • 1
    Well, have you tried to begin with? If not, please do it. If you have any problem, then come here and ask it. Commented Mar 28, 2013 at 13:26
  • It depend of where are .xhtml files located in your .jar file. Commented Mar 28, 2013 at 13:27
  • I have tried setting an .xhtml file in the root of the jar, but i could not get it to show up in my web app. Commented Mar 28, 2013 at 13:32
  • Thank you BalusC for directing me in the right direction. That was indeed what I was looking for Commented Mar 28, 2013 at 14:36

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.