📄 response.jsp
字号:
<%-- Document : response Created on : Oct 7, 2008, 11:28:16 AM Author : nbuser--%><%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%><%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%><sql:query var="counsSubjRs" maxRows="1" dataSource="jdbc/IFPWAFCAD"> SELECT s.name, s.description, c.first_name, c.nick_name, c.last_name, c.member_since, c.telephone, c.email FROM Subject as s, Counselor as c WHERE c.counselor_id = s.counselor_idfk AND s.subject_id = ? <sql:param value="${param.subject_id}"/></sql:query><c:set var="counsSubj" scope="request" value="${counsSubjRs.rows[0]}"/><%@page contentType="text/html" pageEncoding="UTF-8"%><!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=UTF-8"/> <link rel="stylesheet" type="text/css" href="style.css"> <title>${counsSubj.name}</title> </head> <body> <table> <tr> <th colspan="2">${counsSubj.name}</th> </tr> <tr> <td><strong>Description: </strong></td> <td><span style="font-size:smaller; font-style:italic;">${counsSubj.description}</span></td> </tr> <tr> <td><strong>Counselor: </strong></td> <td><strong>${counsSubj.first_name} ${counsSubj.nick_name} ${counsSubj.last_name}</strong> <br><span style="font-size:smaller; font-style:italic;"> <em>member since: ${counsSubj.member_since}</em></span></td> </tr> <tr> <td><strong>Contact Details: </strong></td> <td><strong>email: </strong> <a href="mailto:${counsSubj.email}">${counsSubj.email}</a> <br><strong>phone: </strong>${counsSubj.telephone}</td> </tr> </table> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -