Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@include file="header.jsp" %>
- <div class="container">
- <h3>Daftar Mahasiswa</h3>
- <a href="tambah-mhs.jsp"><button class="btn-success">Tambah Mahasiswa</button></a>
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>NIM</th>
- <th>Nama</th>
- <th>Jurusan</th>
- <th>Email</th>
- <th>Alamat</th>
- <th>Aksi</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <%-- start web service invocation --%><hr/>
- <%
- try
- {
- client.siakad.Mahasiswa_Service service = new client.siakad.Mahasiswa_Service();
- client.siakad.Mahasiswa port = service.getMahasiswaPort();
- // TODO process result here
- java.util.List<java.lang.Object> resultMhs = port.tampilMahasiswa();
- for (int i = 0; i < resultMhs.size(); i++)
- {
- out.println(resultMhs.get(i));
- }
- }
- catch (Exception ex)
- {
- // TODO handle custom exceptions here
- }
- %>
- <%-- end web service invocation --%><hr/>
- </tr>
- </tbody>
- </table>
- </div>
- <%@include file="footer.jsp" %>
Advertisement
Add Comment
Please, Sign In to add comment