Current File : //home/obabain/khb_obaba_in/ViewSystemRole.jsp |
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ include file="Connection.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%@include file="master.jsp" %>
<div class="content">
<div class="row">
<div class="col-md-9" style="background-color:white;">
<div>Tax Rates</div>
<div class="headerbar-item pull-right">
<a class="btn btn-info" style="background:#204b58" href="role.jsp"><li class="glyphicon glyphicon-plus"></li>Add Role</a>
</div>
<div>
<table class="table table-hover" style="width:100%;">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
</tr>
</thead>
<tbody>
<%
Statement st=con.createStatement();
ResultSet rs=st.executeQuery("select * from role");
while(rs.next())
{
%>
<tr>
<td><%=rs.getString("roleid") %></td>
<td><%=rs.getString("description") %></td>
</tr>
<%} %>
</tbody>
</table>
</div>
</div>
</div>
</div>
<%@include file="footer.jsp" %>
</body>
</html>