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
08e8c132
Commit
08e8c132
authored
May 17, 2022
by
Nahuel Mereles Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Arreglado creacion de bootcamp
parent
ca70eeea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
src/main/java/com/roshka/proyectofinal/bootcamp/SaveServlet.java
+4
-3
src/main/webapp/postulante-consulta.jsp
+4
-0
No files found.
src/main/java/com/roshka/proyectofinal/bootcamp/SaveServlet.java
View file @
08e8c132
...
@@ -26,11 +26,12 @@ public class SaveServlet extends HttpServlet {
...
@@ -26,11 +26,12 @@ public class SaveServlet extends HttpServlet {
String
titulo
=
request
.
getParameter
(
"titulo"
);
String
titulo
=
request
.
getParameter
(
"titulo"
);
String
activoStr
=
request
.
getParameter
(
"activo"
);
String
activoStr
=
request
.
getParameter
(
"activo"
);
System
.
out
.
println
(
activoStr
);
System
.
out
.
println
(
activoStr
);
Boolean
activo
=
fals
e
;
Boolean
activo
=
tru
e
;
if
(
activoStr
.
equals
(
"on"
)
)
{
if
(
activoStr
==
null
)
{
activo
=
tru
e
;
activo
=
fals
e
;
}
}
Bootcamp
b
=
new
Bootcamp
(
id_lenguaje
,
id_profesor
,
fecha_inicio
,
fecha_fin
,
descripcion
,
imagen
,
titulo
,
activo
);
Bootcamp
b
=
new
Bootcamp
(
id_lenguaje
,
id_profesor
,
fecha_inicio
,
fecha_fin
,
descripcion
,
imagen
,
titulo
,
activo
);
int
status
=
BootcampDao
.
save
(
b
);
int
status
=
BootcampDao
.
save
(
b
);
...
...
src/main/webapp/postulante-consulta.jsp
View file @
08e8c132
...
@@ -101,6 +101,10 @@
...
@@ -101,6 +101,10 @@
<form
action=
"filtros-postulante"
method=
"get"
>
<form
action=
"filtros-postulante"
method=
"get"
>
<input
type=
"hidden"
name=
"valor"
value=
"0"
>
<input
type=
"hidden"
name=
"valor"
value=
"0"
>
<input
type=
"hidden"
name=
"id"
value=
"${postulante.id}"
>
<input
type=
"hidden"
name=
"id"
value=
"${postulante.id}"
>
<input
type=
"hidden"
name=
"nombre"
value=
"${postulante.nombre}"
>
<input
type=
"hidden"
name=
"apellido"
value=
"${postulante.apellido}"
>
<input
type=
"hidden"
name=
"correo"
value=
"${postulante.correo}"
>
<button
type=
"submit"
>
Rechazar
</button>
<button
type=
"submit"
>
Rechazar
</button>
</form>
</form>
</c:when>
</c:when>
...
...
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