put xhtml page into a jar maven project
I have 2 maven projects (war and jar).
I would like to put jsf pages into the jar project that will be used in my webapp page.
This is the structure of my jar
JarProject
|-- META-INF
| |-- resources
| | | -- myPages
| | | | `-- pages.xhtml
| |-- faces-config.xml
| com
| |....
In my web project, I put my jar in
WEB-INFlib
and I included my page like this
<ui:include src="/myPages/pages.xhtml" />
I tried this solution, but it didn't work, can you tel me what I've missed
链接地址: http://www.djcxy.com/p/74658.html上一篇: INF文件夹在两个地方