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
964858bd
Commit
964858bd
authored
May 17, 2022
by
Yovan Martinez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
integrado el menu de login
parent
610b1186
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
src/main/java/com/roshka/proyectofinal/DataBase.java
+1
-1
src/main/java/com/roshka/proyectofinal/login/LoginServlet.java
+1
-1
src/main/webapp/menu.jsp
+0
-0
No files found.
src/main/java/com/roshka/proyectofinal/DataBase.java
View file @
964858bd
...
@@ -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
2
/bootcamp_th"
,
.
getConnection
(
"jdbc:postgresql://localhost:543
3
/bootcamp_th"
,
"postgres"
,
"postgres"
);
"postgres"
,
"postgres"
);
if
(
con
!=
null
){
if
(
con
!=
null
){
...
...
src/main/java/com/roshka/proyectofinal/login/LoginServlet.java
View file @
964858bd
...
@@ -78,7 +78,7 @@ public class LoginServlet extends HttpServlet {
...
@@ -78,7 +78,7 @@ public class LoginServlet extends HttpServlet {
catch
(
Exception
ignored
)
{
}
catch
(
Exception
ignored
)
{
}
// Si no es posible redireccionar a la pagina solicitada, llevar a la main page
// Si no es posible redireccionar a la pagina solicitada, llevar a la main page
RequestDispatcher
rd
=
request
.
getRequestDispatcher
(
"menu.
html
"
);
RequestDispatcher
rd
=
request
.
getRequestDispatcher
(
"menu.
jsp
"
);
rd
.
include
(
request
,
response
);
rd
.
include
(
request
,
response
);
}
else
{
}
else
{
...
...
src/main/webapp/menu.jsp
View file @
964858bd
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