Bueno este seria mi codigo donde quiero poner el enlace
omitiendo lo de la conecxion y la el de el sqlexception
Código Javascript
:
Ver originalout.println("<table border=1>");
out.println("<tr><th>Folio</th><th>tipo recurso</th><th>clasificacion de ingreso</th><th>coordinacion</th><th>subcoord</th><th>contra parte</th>"
+ "<th>Nombre</th><th>Cargo</th><th>direccion</th><th>tel</th><th>tipo doc</th><th>descripcion del servicio</th><th>total c/iva</th><th>total s/iva</th><th>inicio</th><th>conclucion</th>"
+ "<th>recibido</th><th>visto bueno</th><th>entregada con atenta nota</th><th>registro y resguardo</th><th>nacionalidad</th><th>fianza</th><th>entregado a</th><th>rubricado por</th><th>observaciones</th><th>resguardados</th></tr>");
while (rs.next()) {
out.println("<tr>");
out.println("<td>");
out.println(rs.getString("folio"));
<a href="<%=request.getContextPath()%>/pdf.jsp">Inicio</a>
out.println("</td><td>");
out.println(rs.getString("tipo_recu"));
out.println("</td><td>");
out.println(rs.getString("clasi"));
out.println("</td><td>");
out.println(rs.getString("nomb_coord"));
out.println("</td><td>");
out.println(rs.getString("nomb_subc"));
out.println("</td><td>");
out.println(rs.getString("contra_pa"));
out.println("</td><td>");
out.println(rs.getString("nombre"));
out.println("</td><td>");
out.println(rs.getString("cargo"));
out.println("</td><td>");
out.println(rs.getString("direccion"));
out.println("</td><td>");
out.println(rs.getString("tel"));
out.println("</td><td>");
out.println(rs.getString("tipo_doc"));
out.println("</td><td>");
out.println(rs.getString("desc_ser"));
out.println("</td><td>");
out.println(rs.getInt("total_civa"));
out.println("</td><td>");
out.println(rs.getInt("total_siva"));
out.println("</td><td>");
out.println(rs.getString("f_ini"));
out.println("</td><td>");
out.println(rs.getString("f_conclu"));
out.println("</td><td>");
out.println(rs.getString("f_rec"));
out.println("</td><td>");
out.println(rs.getString("f_vobo"));
out.println("</td><td>");
out.println(rs.getString("f_ent_catn"));
out.println("</td><td>");
out.println(rs.getString("reg_res"));
out.println("</td><td>");
out.println(rs.getString("nacionalidad"));
out.println("</td><td>");
out.println(rs.getString("fianza"));
out.println("</td><td>");
out.println(rs.getString("entre_a"));
out.println("</td><td>");
out.println(rs.getString("rubx"));
out.println("</td><td>");
out.println(rs.getString("obs"));
out.println("</td><td>");
out.println(rs.getString("orig"));
out.println("</td>");
out.println("</tr>");
}
out.println("</table>");
rs.close();
Estamento.close();
conexion.close();
%>
y este el error
Código cita:
Ver originalHa tenido lugar un error en la línea: 87 en el archivo jsp: /Convenios/Consulta_ContraP.jsp
Syntax error on token "<", delete this token
84: out.println("<td>");
85:
86: out.println(rs.getString("folio"));
87: <a href="<%=request.getContextPath()%>/pdf.jsp">Inicio</a>
88: out.println("</td><td>");
89:
90: out.println(rs.getString("tipo_recu"));