]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Form handlers are no longer used in EJB/JSF programming.
authorRoland Haeder <roland@mxchange.org>
Sat, 5 Sep 2015 10:53:53 +0000 (12:53 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 5 Sep 2015 10:54:23 +0000 (12:54 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

web/form_handler/add_item.jsp [deleted file]
web/form_handler/admin/do_category.jsp [deleted file]
web/form_handler/admin/do_product.jsp [deleted file]
web/static/error/direct_call.jsp [deleted file]

diff --git a/web/form_handler/add_item.jsp b/web/form_handler/add_item.jsp
deleted file mode 100644 (file)
index fcd6652..0000000
+++ /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 (file)
index 6d6d7e0..0000000
+++ /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 (file)
index a985dfc..0000000
+++ /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 (file)
index 37dab2c..0000000
+++ /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>