From: Roland Haeder <roland@mxchange.org> Date: Sat, 5 Sep 2015 10:53:53 +0000 (+0200) Subject: Form handlers are no longer used in EJB/JSF programming. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5445fe076bf6ce36840c12ecf22d09328e4536d7;p=pizzaservice-war.git Form handlers are no longer used in EJB/JSF programming. Signed-off-by:Roland Häder <roland@mxchange.org> --- diff --git a/web/form_handler/add_item.jsp b/web/form_handler/add_item.jsp deleted file mode 100644 index fcd66525..00000000 --- a/web/form_handler/add_item.jsp +++ /dev/null @@ -1,48 +0,0 @@ -<%-- - Document : add_item - Ceated on : Aug 17, 2015, 7:03:38 PM - Author : Roland Haeder ---%> - -<%--<%@page errorPage="errorHandler.jsp" %>--%> -<%@page contentType="text/html" pageEncoding="UTF-8"%> -<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaBean"%> -<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean"%> -<%@page import="org.mxchange.jshopejb.item.AddableBasketItem"%> - -<jsp:useBean id="controller" scope="session" class="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean" type="PizzaBean" /> - -<jsp:setProperty name="controller" property="application" value="${pageContext.servletContext}" /> -<jsp:setProperty name="controller" property="basket" value="${basket}" /> - -<% - // TODO: Can be removed later - controller.init(); -%> - -<jsp:useBean id="item" scope="request" class="org.mxchange.jshopejb.item.basket.BasketItem" type="AddableBasketItem" /> -<jsp:setProperty name="item" property="*" /> - -<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> -<c:set var="basePath" value="${pageContext.request.contextPath}" /> - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <link rel="stylesheet" href="${basePath}/style.css" type="text/css" /> - <title>Pizza-Service - Form-Handler</title> - </head> - - <body> - <div id="title"> - <h1>Pizza-Service - Form-Handler</h1> - </div> - - <jsp:include page="/static/guest/guest_menu.jsp" flush="false" /> - - <jsp:include page="/static/error/direct_call.jsp" flush="false" /> - - <jsp:include page="/static/guest/guest_footer.jsp" flush="false" /> - </body> -</html> diff --git a/web/form_handler/admin/do_category.jsp b/web/form_handler/admin/do_category.jsp deleted file mode 100644 index 6d6d7e08..00000000 --- a/web/form_handler/admin/do_category.jsp +++ /dev/null @@ -1,40 +0,0 @@ -<%-- - Document : order - Created on : 07.08.2015, 14:58:21 - Author : Roland Haeder ---%> - -<%--<%@page errorPage="errorHandler.jsp" %>--%> -<%@page contentType="text/html" pageEncoding="UTF-8"%> -<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaBean"%> -<jsp:useBean id="controller" scope="session" class="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean" type="PizzaBean" /> - -<jsp:setProperty name="controller" property="request" value="${pageContext.request}" /> -<jsp:setProperty name="controller" property="response" value="${pageContext.response}" /> - -<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> -<c:set var="basePath" value="${pageContext.request.contextPath}" /> - -<% - // Handle forms - controller.doAdminHandleCategoryForms(); -%> - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <link rel="stylesheet" href="${basePath}/style.css" type="text/css" /> - <title>Pizza-Service - Form-Handler</title> - </head> - - <body> - <div id="title"> - <h1>Pizza-Service - Form-Handler</h1> - </div> - - <jsp:include page="/static/admin/admin_menu.jsp" flush="false" /> - - <jsp:include page="/static/error/direct_call.jsp" flush="false" /> - </body> -</html> diff --git a/web/form_handler/admin/do_product.jsp b/web/form_handler/admin/do_product.jsp deleted file mode 100644 index a985dfc3..00000000 --- a/web/form_handler/admin/do_product.jsp +++ /dev/null @@ -1,40 +0,0 @@ -<%-- - Document : order - Created on : 07.08.2015, 14:58:21 - Author : Roland Haeder ---%> - -<%--<%@page errorPage="errorHandler.jsp" %>--%> -<%@page contentType="text/html" pageEncoding="UTF-8"%> -<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaBean"%> -<jsp:useBean id="controller" scope="session" class="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean" type="PizzaBean" /> - -<jsp:setProperty name="controller" property="request" value="${pageContext.request}" /> -<jsp:setProperty name="controller" property="response" value="${pageContext.response}" /> - -<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> -<c:set var="basePath" value="${pageContext.request.contextPath}" /> - -<% - // Handle forms - controller.doAdminHandleProductForms(); -%> - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <link rel="stylesheet" href="${basePath}/style.css" type="text/css" /> - <title>Pizza-Service - Form-Handler</title> - </head> - - <body> - <div id="title"> - <h1>Pizza-Service - Form-Handler</h1> - </div> - - <jsp:include page="/static/admin/admin_menu.jsp" flush="false" /> - - <jsp:include page="/static/error/direct_call.jsp" flush="false" /> - </body> -</html> diff --git a/web/static/error/direct_call.jsp b/web/static/error/direct_call.jsp deleted file mode 100644 index 37dab2c2..00000000 --- a/web/static/error/direct_call.jsp +++ /dev/null @@ -1,14 +0,0 @@ -<%-- - Document : direct_call - Created on : 11.08.2015, 12:28:03 - Author : Roland Haeder ---%> -<div id="content_outer"> - <div id="content_title"> - <h2>Bitte nicht direkt aufrufen:</h2> - </div> - - <div id="content"> - Bitte rufen Sie diese Seite nicht direkt auf. - </div> -</div>