Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
すべてのファセットとマネージドBeanを1つの外部jarに入れたいのですが、de index.xhtmlをそこに置いた場合、それを参照する方法がわかりません。
jar構造が次の場合:
IndexManagedBean.class META-INF/ resources/ pages/ index.xhtml
そのURLは何ですか?
JAR が webapp の/WEB-INF/libフォルダーに配置され、JSF 2.x を使用していて、webapp のコンテキスト パスが/contextpathであり、FacesServletが の URL パターンにマップされていると仮定すると*.xhtml、次の URL で参照できます。
/WEB-INF/lib
/contextpath
FacesServlet
*.xhtml
http://example.com/contextpath/pages/index.xhtml