Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
ProyectoFinal-Bootcamp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jose Baez
ProyectoFinal-Bootcamp
Commits
bd9b5ea9
Commit
bd9b5ea9
authored
May 15, 2022
by
Yovan Martinez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cambiado la extension manage_postulante de html por jsp
parent
d3c627c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
113 additions
and
0 deletions
+113
-0
src/main/webapp/manage_postulantes.jsp
+113
-0
No files found.
src/main/webapp/manage_postulantes.jsp
0 → 100644
View file @
bd9b5ea9
<
%@
page
language=
"java"
contentType=
"text/html; charset=UTF-8"
pageEncoding=
"UTF-8"
%
>
<
%@
page
import=
"java.sql.*,java.sql.Connection,java.sql.ResultSet,com.roshka.proyectofinal.DataBase"
%
>
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<link
href=
"css/bootstrap.css"
rel=
"stylesheet"
type=
"text/css"
/>
<script
src=
"Javascript.js"
></script>
<title>
aceptar postulantes
</title>
</head>
<body>
<main>
<div>
<h1>
Lista de postulante
</h1>
<table>
<!-- <a href="ViewServletPostulante">Aca para lista capo</a> -->
<tr>
<th>
Id postulante
</th>
<th>
Nombre
</th>
<th>
Apellido
</th>
<th>
Numero de Cedula
</th>
<th>
Correo
</th>
<th>
Telefono
</th>
<th>
Direccion de domicilio
</th>
<th>
Experiencia Labporal:
</th>
<th>
Posee notebook
</th>
<th>
Bootcamp_id
</th>
<th>
Estado
</th>
<th>
Aceptar/Rechazar
</th>
</tr>
<
%
Connection
con =
DataBase.getConnection();
Statement
stmt =
con.createStatement();
ResultSet
rs =
stmt.executeQuery("SELECT
*
FROM
postulante
");
while
(
rs
.
next
()){
%
>
<tr>
<td>
<
%=
rs
.
getInt
("
id
")
%
>
</td>
<td>
<
%=
rs
.
getString
("
nombre
")
%
>
</td>
<td>
<
%=
rs
.
getString
("
apellido
")
%
>
</td>
<td>
<
%=
rs
.
getInt
("
nro_cedula
")
%
>
</td>
<td>
<
%=
rs
.
getString
("
correo
")
%
>
</td>
<td>
<
%=
rs
.
getString
("
telefono
")
%
>
</td>
<td>
<
%=
rs
.
getString
("
direccion
")
%
>
</td>
<td>
<
%=
rs
.
getBoolean
("
experiencia_laboral
")
%
>
</td>
<td>
<
%=
rs
.
getBoolean
("
notebook
")
%
>
</td>
<td>
<
%=
rs
.
getInt
("
bootcamp_id
")
%
>
</td>
<td>
<
%
String
aceptado=
""
;
if
(
rs
.
getBoolean
("
aceptado
")){
aceptado=
"Aceptado"
;
}
else
{
aceptado=
"Rechazado"
;
}
%
>
<
%=
aceptado
%
>
</td>
<td>
<form
method=
"post"
action=
"EditServletPostulante"
>
<input
type=
"hidden"
value=
<%
%
>
id=
<
%=
rs
.
getInt
(
"
id
")
%
>
>
<
%
String
accion =
""
;
if
(
rs
.
getBoolean
("
aceptado
")){
accion=
"Rechazar"
;
}
else
{
accion=
"Aceptar"
;
}
%
>
<input
type=
"submit"
value=
<%=accion
%
>
<a
href=
""
></a>
</form>
</td>
</tr>
<
%
}
%
>
</table>
</div>
</main>
</body>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment