From 050fea269b755955932ff3dda3f111d560aed7f8 Mon Sep 17 00:00:00 2001 From: estevandias <36716292+estevandias@users.noreply.github.com> Date: Sun, 4 Nov 2018 21:51:45 -0200 Subject: [PATCH] Aula 04 Aula 04 --- HoraDaPipocaUpSource/.classpath | 2 +- HoraDaPipocaUpSource/.project | 2 +- .../WebContent/WEB-INF/spring-context.xml | 26 +-- .../WEB-INF/views/AlterarCliente.jsp | 57 ++++++ .../WebContent/WEB-INF/views/CriarFilme.jsp | 8 +- .../WebContent/WEB-INF/views/ListarFilmes.jsp | 12 +- .../WebContent/WEB-INF/views/Menu.jsp | 9 +- .../WebContent/WEB-INF/views/TelaLogin.jsp | 39 +++++ .../WEB-INF/views/VisualizarFilme.jsp | 6 +- .../WebContent/WEB-INF/web.xml | 2 +- HoraDaPipocaUpSource/WebContent/css/style.css | 6 +- .../controller/ManterFilmesController.class | Bin 7595 -> 3791 bytes .../OldManterFilmesController.class | Bin 0 -> 5513 bytes .../ads/arqdes/interceptor/Interceptor.class | Bin 0 -> 1515 bytes .../arqdes/model/dao/ConnectionFactory.class | Bin 1209 -> 1183 bytes .../usjt/ads/arqdes/model/dao/FilmeDAO.class | Bin 9301 -> 6338 bytes .../usjt/ads/arqdes/model/dao/GeneroDAO.class | Bin 3903 -> 3230 bytes .../ads/arqdes/model/dao/UsuarioDAO.class | Bin 0 -> 2425 bytes .../usjt/ads/arqdes/model/entity/Filme.class | Bin 3291 -> 2754 bytes .../ads/arqdes/model/entity/Usuario.class | Bin 0 -> 1196 bytes .../arqdes/model/service/FilmeService.class | Bin 4640 -> 1645 bytes .../arqdes/model/service/GeneroService.class | Bin 1126 -> 1012 bytes .../arqdes/model/service/UsuarioService.class | Bin 0 -> 894 bytes .../controller/ManterFilmesController.java | 163 +++--------------- .../controller/OldManterFilmesController.java | 123 +++++++++++++ .../ads/arqdes/interceptor/Interceptor.java | 25 +++ .../arqdes/model/dao/ConnectionFactory.java | 4 +- .../usjt/ads/arqdes/model/dao/FilmeDAO.java | 123 +------------ .../usjt/ads/arqdes/model/dao/GeneroDAO.java | 28 +-- .../usjt/ads/arqdes/model/dao/UsuarioDAO.java | 54 ++++++ .../usjt/ads/arqdes/model/entity/Filme.java | 14 -- .../usjt/ads/arqdes/model/entity/Usuario.java | 34 ++++ .../arqdes/model/service/FilmeService.java | 79 --------- .../arqdes/model/service/GeneroService.java | 5 - .../arqdes/model/service/UsuarioService.java | 20 +++ 35 files changed, 428 insertions(+), 413 deletions(-) create mode 100644 HoraDaPipocaUpSource/WebContent/WEB-INF/views/AlterarCliente.jsp create mode 100644 HoraDaPipocaUpSource/WebContent/WEB-INF/views/TelaLogin.jsp create mode 100644 HoraDaPipocaUpSource/build/classes/br/usjt/ads/arqdes/controller/OldManterFilmesController.class create mode 100644 HoraDaPipocaUpSource/build/classes/br/usjt/ads/arqdes/interceptor/Interceptor.class create mode 100644 HoraDaPipocaUpSource/build/classes/br/usjt/ads/arqdes/model/dao/UsuarioDAO.class create mode 100644 HoraDaPipocaUpSource/build/classes/br/usjt/ads/arqdes/model/entity/Usuario.class create mode 100644 HoraDaPipocaUpSource/build/classes/br/usjt/ads/arqdes/model/service/UsuarioService.class create mode 100644 HoraDaPipocaUpSource/src/br/usjt/ads/arqdes/controller/OldManterFilmesController.java create mode 100644 HoraDaPipocaUpSource/src/br/usjt/ads/arqdes/interceptor/Interceptor.java create mode 100644 HoraDaPipocaUpSource/src/br/usjt/ads/arqdes/model/dao/UsuarioDAO.java create mode 100644 HoraDaPipocaUpSource/src/br/usjt/ads/arqdes/model/entity/Usuario.java create mode 100644 HoraDaPipocaUpSource/src/br/usjt/ads/arqdes/model/service/UsuarioService.java diff --git a/HoraDaPipocaUpSource/.classpath b/HoraDaPipocaUpSource/.classpath index c3de060..5dbdb07 100644 --- a/HoraDaPipocaUpSource/.classpath +++ b/HoraDaPipocaUpSource/.classpath @@ -1,7 +1,7 @@ - + diff --git a/HoraDaPipocaUpSource/.project b/HoraDaPipocaUpSource/.project index 30ed399..8a2dac3 100644 --- a/HoraDaPipocaUpSource/.project +++ b/HoraDaPipocaUpSource/.project @@ -1,6 +1,6 @@ - pipoca_aula03 + pipoca_aula04 diff --git a/HoraDaPipocaUpSource/WebContent/WEB-INF/spring-context.xml b/HoraDaPipocaUpSource/WebContent/WEB-INF/spring-context.xml index bd43367..6dee86b 100644 --- a/HoraDaPipocaUpSource/WebContent/WEB-INF/spring-context.xml +++ b/HoraDaPipocaUpSource/WebContent/WEB-INF/spring-context.xml @@ -1,12 +1,13 @@ @@ -18,11 +19,16 @@ - - + + + + + + - - + + - \ No newline at end of file diff --git a/HoraDaPipocaUpSource/WebContent/WEB-INF/views/AlterarCliente.jsp b/HoraDaPipocaUpSource/WebContent/WEB-INF/views/AlterarCliente.jsp new file mode 100644 index 0000000..d3f3cc7 --- /dev/null +++ b/HoraDaPipocaUpSource/WebContent/WEB-INF/views/AlterarCliente.jsp @@ -0,0 +1,57 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> + + + + + + + + + cerveja.biz - Alterar Cliente + + + + + + + + + +
+ + +
+ + +
+
+ + +
+
+
+
+ + +
+ +
+ + +
+
+
+
+
+ + Cancelar +
+
+
+
+ + + + + \ No newline at end of file diff --git a/HoraDaPipocaUpSource/WebContent/WEB-INF/views/CriarFilme.jsp b/HoraDaPipocaUpSource/WebContent/WEB-INF/views/CriarFilme.jsp index f64e837..45fd5c0 100644 --- a/HoraDaPipocaUpSource/WebContent/WEB-INF/views/CriarFilme.jsp +++ b/HoraDaPipocaUpSource/WebContent/WEB-INF/views/CriarFilme.jsp @@ -1,6 +1,5 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> -<%@ taglib uri="http://www.springframework.org/tags/form" prefix="f" %> @@ -34,34 +33,29 @@
-
- - +
-
-
-
diff --git a/HoraDaPipocaUpSource/WebContent/WEB-INF/views/ListarFilmes.jsp b/HoraDaPipocaUpSource/WebContent/WEB-INF/views/ListarFilmes.jsp index de96037..ee3140b 100644 --- a/HoraDaPipocaUpSource/WebContent/WEB-INF/views/ListarFilmes.jsp +++ b/HoraDaPipocaUpSource/WebContent/WEB-INF/views/ListarFilmes.jsp @@ -29,7 +29,7 @@ Deseja realmente excluir este filme?