Skip to content
Snippets Groups Projects
Commit 5722333d authored by Usuario's avatar Usuario
Browse files

cambio visual buzon y enviados

parent 121f53f6
Branches
No related tags found
No related merge requests found
......@@ -191,11 +191,12 @@ public class nookDB {
Connection connection = pool.getConnection();
ArrayList<Nook> listanooks=null;
String consulta = "SELECT * FROM Nook N, ClasificacionCategorias C "
/*String consulta = "SELECT * FROM Nook N, ClasificacionCategorias C "
+ "WHERE (N.idNook=C.idNook AND "
+ "N.nombre = ?"
+ "OR N.autor = ?"
+ "OR C.categoria = ?)";
+ "OR C.categoria = ?)";*/
String consulta= "SELECT * FROM Nook WHERE nombre LIKE ? ";
ResultSet rs = null;
try {
......
......@@ -50,7 +50,7 @@ and open the template in the editor.
ArrayList<Mensaje> mensajes= (ArrayList<Mensaje>)request.getAttribute("mensajes");
for(int i=0;i<mensajes.size();i++){
%>
<div class="mensajeBuzon">
<div class="mensajeBuzon" style="background-color: #f2f2f2;">
<p class="usuario"><%= mensajes.get(i).getAutor() %><p>
<p class="asunto"><%= mensajes.get(i).getAsunto() %></p>
<p class="fecha"><%= mensajes.get(i).getFecha() %></p>
......
......@@ -51,7 +51,7 @@ and open the template in the editor.
ArrayList<Mensaje> mensajes= (ArrayList<Mensaje>)request.getAttribute("mensajes");
for(int i=0;i<mensajes.size();i++){
%>
<div class="mensajeBuzon">
<div class="mensajeBuzon" style="background-color: #f2f2f2;">
<p class="usuario"><%= mensajes.get(i).getDestinatario()%><p>
<p class="asunto"><%= mensajes.get(i).getAsunto() %></p>
<p class="fecha"><%= mensajes.get(i).getFecha() %></p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment