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
5f7168bb
Commit
5f7168bb
authored
May 16, 2022
by
Yovan Martinez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Seguimos arreglando errores de merge
parent
1f09e4cd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
13 deletions
+1
-13
src/main/java/com/roshka/proyectofinal/DataBase.java
+1
-1
src/main/java/com/roshka/proyectofinal/Postulante/SaveServlet.java
+0
-1
src/main/webapp/formulario.jsp
+0
-11
No files found.
src/main/java/com/roshka/proyectofinal/DataBase.java
View file @
5f7168bb
...
@@ -10,7 +10,7 @@ public class DataBase {
...
@@ -10,7 +10,7 @@ public class DataBase {
try
{
try
{
Class
.
forName
(
"org.postgresql.Driver"
);
Class
.
forName
(
"org.postgresql.Driver"
);
con
=
DriverManager
con
=
DriverManager
.
getConnection
(
"jdbc:postgresql://localhost:543
3
/bootcamp_th"
,
.
getConnection
(
"jdbc:postgresql://localhost:543
2
/bootcamp_th"
,
"postgres"
,
"postgres"
);
"postgres"
,
"postgres"
);
if
(
con
!=
null
){
if
(
con
!=
null
){
...
...
src/main/java/com/roshka/proyectofinal/Postulante/SaveServlet.java
View file @
5f7168bb
...
@@ -114,7 +114,6 @@ public class SaveServlet extends HttpServlet {
...
@@ -114,7 +114,6 @@ public class SaveServlet extends HttpServlet {
request
.
getRequestDispatcher
(
"formulario.jsp"
).
include
(
request
,
response
);
request
.
getRequestDispatcher
(
"formulario.jsp"
).
include
(
request
,
response
);
}
else
{
}
else
{
if
(
rechazarDatos
){
if
(
rechazarDatos
){
out
.
print
(
" <div class=\"alert info\">\n"
+
out
.
print
(
" <div class=\"alert info\">\n"
+
" <span class=\"closebtn\" onclick=\"this.parentElement.style.display='none';\">×</span> \n"
+
" <span class=\"closebtn\" onclick=\"this.parentElement.style.display='none';\">×</span> \n"
+
" <strong>Formulario ya Cargado!</strong> YA EXISTE EL FORMULARIO\n"
+
" <strong>Formulario ya Cargado!</strong> YA EXISTE EL FORMULARIO\n"
+
...
...
src/main/webapp/formulario.jsp
View file @
5f7168bb
...
@@ -97,24 +97,13 @@ pageEncoding="UTF-8"%>
...
@@ -97,24 +97,13 @@ pageEncoding="UTF-8"%>
</li>
</li>
<
%
}
%
>
<
%
}
%
>
</ul>
</ul>
<input
class=
"enviar info error"
type=
"submit"
>
<input
class=
"enviar info error"
type=
"submit"
>
<input
class=
"borrar"
type=
"reset"
value=
"Borrar"
><br>
<input
class=
"borrar"
type=
"reset"
value=
"Borrar"
><br>
<a
href=
"index.html"
>
volver
</a>
<a
href=
"index.html"
>
volver
</a>
</form>
</form>
</article>
</article>
</main>
</main>
</body>
</body>
</html>
</html>
<script>
<script>
(
function
()
{
(
function
()
{
...
...
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