Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
belajarJavaServlet_Fabian
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Fabian Dewantara Santonie
belajarJavaServlet_Fabian
Commits
406b82b0
Commit
406b82b0
authored
Mar 24, 2022
by
Fabian Dewantara Santonie
🕊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Perbaikan Tampilan
parent
d916408f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
17 deletions
+26
-17
delete.java
src/main/java/org/testing/bank/delete.java
+1
-10
edit.jsp
src/main/webapp/edit.jsp
+2
-2
index.jsp
src/main/webapp/index.jsp
+23
-5
No files found.
src/main/java/org/testing/bank/delete.java
View file @
406b82b0
...
@@ -13,24 +13,15 @@ import javax.servlet.http.HttpServlet;
...
@@ -13,24 +13,15 @@ import javax.servlet.http.HttpServlet;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
/**
* Servlet implementation class delete
*/
@WebServlet
(
"/deleteData"
)
@WebServlet
(
"/deleteData"
)
public
class
delete
extends
HttpServlet
{
public
class
delete
extends
HttpServlet
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
/**
* @see HttpServlet#HttpServlet()
*/
public
delete
()
{
public
delete
()
{
super
();
super
();
// TODO Auto-generated constructor stub
// TODO Auto-generated constructor stub
}
}
/**
* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected
void
doGet
(
HttpServletRequest
request
,
HttpServletResponse
response
)
throws
ServletException
,
IOException
{
protected
void
doGet
(
HttpServletRequest
request
,
HttpServletResponse
response
)
throws
ServletException
,
IOException
{
// TODO Auto-generated method stub
// TODO Auto-generated method stub
try
{
try
{
...
...
src/main/webapp/edit.jsp
View file @
406b82b0
...
@@ -32,11 +32,11 @@
...
@@ -32,11 +32,11 @@
</tr>
</tr>
<tr>
<tr>
<td>
Kode Bank
</td>
<td>
Kode Bank
</td>
<td><input
type=
"text"
name=
"kode"
placeholder
=
${kode}
></td>
<td><input
type=
"text"
name=
"kode"
value
=
${kode}
></td>
</tr>
</tr>
<tr>
<tr>
<td>
Nama Bank
</td>
<td>
Nama Bank
</td>
<td><input
type=
"text"
name=
"nama"
placeholder
=
${nama}
></td>
<td><input
type=
"text"
name=
"nama"
value
=
${nama}
></td>
</tr>
</tr>
</table>
</table>
<input
type=
"submit"
name=
"submit"
>
<input
type=
"submit"
name=
"submit"
>
...
...
src/main/webapp/index.jsp
View file @
406b82b0
...
@@ -9,11 +9,29 @@
...
@@ -9,11 +9,29 @@
</head>
</head>
<div
align=
"center"
>
<div
align=
"center"
>
<body>
<body>
<a
href=
"Latihan1.jsp"
><button
class=
"btn btn-dark"
>
Latihan 1
</button></a><br><br>
<h1>
Pilih Latihan
</h1>
<a
href=
"Latihan2.jsp"
><button
class=
"btn btn-dark"
>
Latihan 2
</button></a><br><br>
<table
class=
"table-sm"
border=
"2"
>
<a
href=
"Latihan3.jsp"
><button
class=
"btn btn-dark"
>
Latihan 3
</button></a><br><br>
<tr>
<a
href=
"Latihan4.jsp"
><button
class=
"btn btn-dark"
>
Latihan 4
</button></a><br><br>
<th>
Metode GET
</th>
<a
href=
"/belajarJavaServlet_Fabian/DatabaseConnect"
><button
class=
"btn btn-dark"
>
Latihan 5
</button></a>
<th><a
href=
"Latihan1.jsp"
><button
class=
"btn btn-primary"
>
Latihan 1
</button></a><br><br></th>
</tr>
<tr>
<th>
Metode POST
</th>
<th><a
href=
"Latihan2.jsp"
><button
class=
"btn btn-primary"
>
Latihan 2
</button></a><br><br>
</th>
</tr>
<tr>
<th>
Test Login
</th>
<th><a
href=
"Latihan3.jsp"
><button
class=
"btn btn-primary"
>
Latihan 3
</button></a><br><br></th>
</tr>
<tr>
<th>
Login dan Registrasi
</th>
<th><a
href=
"Latihan4.jsp"
><button
class=
"btn btn-primary"
>
Latihan 4
</button></a><br><br></th>
</tr>
<tr>
<th>
CRUD SQL
</th>
<th><a
href=
"/belajarJavaServlet_Fabian/DatabaseConnect"
><button
class=
"btn btn-primary"
>
Latihan 5
</button></a></th>
</tr>
</body>
</body>
</div>
</div>
</html>
</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