Commit 24f268ce authored by Fabian Dewantara Santonie's avatar Fabian Dewantara Santonie 🕊

Perbaikan Typo

parent d3c7eddf
...@@ -61,7 +61,7 @@ public class edit extends HttpServlet { ...@@ -61,7 +61,7 @@ public class edit extends HttpServlet {
st.executeUpdate(); st.executeUpdate();
st.close(); st.close();
con.close(); con.close();
response.sendRedirect(request.getContextPath()+"/editData"); response.sendRedirect(request.getContextPath()+"/DatabaseConnect");
} catch (ClassNotFoundException | SQLException e) { } catch (ClassNotFoundException | SQLException e) {
e.printStackTrace(); e.printStackTrace();
} }
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
pageEncoding="ISO-8859-1"%> pageEncoding="ISO-8859-1"%>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<head> <head>
<meta charset="ISO-8859-1"> <meta charset="ISO-8859-1">
<title>Insert title here</title> <title>Insert title here</title>
...@@ -20,7 +21,26 @@ ...@@ -20,7 +21,26 @@
<th>${kode}</th> <th>${kode}</th>
<th>${nama}</th> <th>${nama}</th>
</tr> </tr>
</table>
<h1>Edit Data</h1>
<h6>ID Bank tidak dapat diubah</h6>
<form name="loginForm" method="post" action="editData">
<table class="table-sm" style="with: 80%">
<tr>
<td>ID Bank</td>
<td><input type="text" name="id" value =${id} readonly></td>
</tr>
<tr>
<td>Kode Bank</td>
<td><input type="text" name="kode" value=${kode}></td>
</tr>
<tr>
<td>Nama Bank</td>
<td><input type="text" name="nama" value=${nama}></td>
</tr>
</table>
<input type="submit" name="submit">
</form>
</div> </div>
</form> </form>
</body> </body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment