From df8c8d8eaa3fd74b2f6a76341611555ee6d8834d Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Sun, 22 Nov 2015 15:07:27 +0100 Subject: Add initial files --- WebContent/WEB-INF/faces-config.xml | 211 ++++++++++++++++++++++++++++++++++++ WebContent/WEB-INF/web.xml | 47 ++++++++ 2 files changed, 258 insertions(+) create mode 100644 WebContent/WEB-INF/faces-config.xml create mode 100644 WebContent/WEB-INF/web.xml (limited to 'WebContent/WEB-INF') diff --git a/WebContent/WEB-INF/faces-config.xml b/WebContent/WEB-INF/faces-config.xml new file mode 100644 index 0000000..06265ca --- /dev/null +++ b/WebContent/WEB-INF/faces-config.xml @@ -0,0 +1,211 @@ + + + + + + + UserManager + beans.UserManager + session + + + + CategoryManager + beans.CategoryManager + session + + + + ContactManager + beans.ContactManager + session + + + + ProductManager + beans.ProductManager + session + + + + + /pages/home.xhtml + + + contact + /pages/contact.xhtml + + + + login + /pages/login.xhtml + + + + categories + /pages/categories.xhtml + + + + + + + /pages/login.xhtml + + + contact + /pages/contact.xhtml + + + + login + /pages/login.xhtml + + + + categories + /pages/categories.xhtml + + + + failure + /pages/login.xhtml + + + + success + /pages/greeting.xhtml + + + + + + + + /pages/categories.xhtml + + + contact + /pages/contact.xhtml + + + + login + /pages/login.xhtml + + + + categories + /pages/categories.xhtml + + + + select + /pages/products.xhtml + + + + + + + /pages/greeting.xhtml + + + contact + /pages/contact.xhtml + + + + categories + /pages/categories.xhtml + + + + home + /pages/home.xhtml + + + + + + + /pages/contact.xhtml + + + contact + /pages/contact.xhtml + + + + categories + /pages/categories.xhtml + + + + login + /pages/login.xhtml + + + + + + + /pages/products.xhtml + + + contact + /pages/contact.xhtml + + + + categories + /pages/categories.xhtml + + + + login + /pages/login.xhtml + + + + + + + /pages/product.xhtml + + + products + /pages/products.xhtml + + + + contact + /pages/contact.xhtml + + + + categories + /pages/categories.xhtml + + + + login + /pages/login.xhtml + + + + + + + com.sun.facelets.FaceletViewHandler + + + de_DE + + + + + + \ No newline at end of file diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml new file mode 100644 index 0000000..ee62240 --- /dev/null +++ b/WebContent/WEB-INF/web.xml @@ -0,0 +1,47 @@ + + + Facelets JCatalog Application + + javax.faces.DEFAULT_SUFFIX + .xhtml + + + facelets.REFRESH_PERIOD + 2 + + + facelets.DEVELOPMENT + true + + + javax.faces.STATE_SAVING_METHOD + client + + + com.sun.faces.validateXml + true + + + com.sun.faces.verifyObjects + true + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + + Faces Servlet + *.jsf + + + JCatalog + + index.html + index.htm + index.jsp + default.html + default.htm + default.jsp + + -- cgit v1.2.3-70-g09d2