<%@ page import="com.roshka.proyectofinal.entity.Lenguaje, com.roshka.proyectofinal.entity.Bootcamp, com.roshka.proyectofinal.lenguaje.LenguajeDao, com.roshka.proyectofinal.bootcamp.BootcampDao, com.roshka.proyectofinal.entity.Profesor, com.roshka.proyectofinal.profesor.ProfesorDao, java.util.List,java.util.Iterator, java.util.ArrayList" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %> JSP Page

CREAR BOOTCAMP

<%@ page import="com.roshka.proyectofinal.entity.Lenguaje, com.roshka.proyectofinal.entity.Bootcamp, com.roshka.proyectofinal.lenguaje.LenguajeDao, com.roshka.proyectofinal.bootcamp.BootcampDao, com.roshka.proyectofinal.entity.Profesor, com.roshka.proyectofinal.profesor.ProfesorDao, java.util.List,java.util.Iterator" %> <% LenguajeDao lenDao = new LenguajeDao(); List listLen = lenDao.listar(); Iterator iter = listLen.iterator(); Lenguaje len = null; ProfesorDao profeDao = new ProfesorDao(); List listProfesor = profeDao.listarProfesor(); Iterator iterProfe = listProfesor.iterator(); Profesor profe = null; %>
<% BootcampDao bootDao = new BootcampDao(); List listBoot = bootDao.listar(); Iterator iterBoot = listBoot.iterator(); Bootcamp boot = null; %> <% while(iterBoot.hasNext()){ boot = iterBoot.next(); %> <% } %>
Titulo Descripcion fecha de Inicio Fecha de Fin Lenguaje Profesor Activo
<%= boot.getTitulo() %> <%= boot.getDescripcion() %> <%= boot.getFecha_inicio() %> <%= boot.getFecha_fin() %> <%= boot.getNombre_lenguaje() %> <%= boot.getNombre_profesor() + " " + boot.getApellido_profesor() %> <%= boot.getActivo() %>
>
>
<% LenguajeDao lenDao2 = new LenguajeDao(); List listLenguaje2 = lenDao2.listar(); Iterator iter2 = listLenguaje2.iterator(); Lenguaje len2 = null; ProfesorDao profeDao2 = new ProfesorDao(); List listProfesor2 = profeDao2.listarProfesor(); Iterator iterProfe2 = listProfesor2.iterator(); Profesor profe2 = null; Bootcamp bootcampToEdit = (Bootcamp)request.getAttribute("Bootcamp"); if(bootcampToEdit != null){ %>
> name="id" id="id" />
<% } %>