Pessoal,
Tenho esta tabela com os dados cadastrados
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="com.mono.model.Cliente" %>
<%@page import="com.mono.persistence.ClienteDAO" %>
<%@page import="java.util.List" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-theme.min.css"/>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<style type="text/css">
.glyphicon{
font-size: 25px;
color: #c12e2a;
}
</style>
<title>JSP Page</title>
</head>
<body>
<a href="index.jsp">Index</a>
<div class="container">
<div class="row">
<h1>LISTA CLIENTES</h1>
</div>
<div class="row-fluid">
<a href="cadCliente.jsp" class="btn btn-success">Novo Cadastro</a>
</div>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Código do Cliente</th>
<th>Nome</th>
<th>Telefone</th>
<th>Email</th>
<th>Site</th>
<th>Ações</th>
</tr>
</thead>
<tbody>
<%
try
{
ClienteDAO cd = new ClienteDAO();
List<Cliente> lista = cd.listaCliente();
for(Cliente c : lista)
{
%>
<tr>
<td><%= c.getCod_cliente() %></td>
<td><%= c.getNome() %></td>
<td><%= c.getTelefone() %></td>
<td><%= c.getEmail() %></td>
<td><%= c.getSite() %></td>
<td>
<span class="glyphicon glyphicon-trash"><% out.print("<a href=controle.jsp?action=excluir&cod_cliente="+c.getCod_cliente()+">Excluir</a>"); %></span>
<span class="glyphicon glyphicon-edit"><% out.print("<a href=atualizar.jsp?action=atualizar&cod_cliente="+c.getCod_cliente()+">Atualizar</a>"); %> </span>
</td>
</tr>
<%
}
}
catch(Exception e)
{
out.print("Erro");
}
%>
</tbody>
</table>
</body>
</html>
Estou tentando inserir icones bootstrap para excluir e alterar dados, porém não estou conseguindo. Sei que estou fazendo algo errado, mas não sei onde. Será que alguém poderia informar-me o que estou fazendo de errado?
Obrigado a todos.