.WAF L ( l . v @ LX§áΤŒ÷`m]é
;N ntry (ÛqYžÃ{šºr?±1ÆX§áΤŒ÷`m]é
;N v ‰url Ehttp://www.medg.lcs.mit.edu/courses/6872/hw/deadsource/index.jsp.txt mime
text/html hntt "38c0dc-46d-f32a9040" hvrs data <%@ page import="edu.mit.lcs.*" %>
<%@ page import="java.sql.*" %>
<%@ page import="javax.sql.*" %>
<%@ page import="java.util.*" %>
<%@ page import="javax.servlet.*"%>
<%@ page import="javax.servlet.jsp.*"%>
<%@ page import="javax.naming.*"%>
CWS Experimentation
CWS Database
# | Patient |
<%
SqlAccess s = null;
try {
s = new SqlAccess("jdbc/cws");
List people = s.retrieveAll("select pat_num,last_name,first_name,title as mid_initl from pat_demograph order by last_name,first_name,mid_initl");
Iterator it=people.iterator();
while (it.hasNext()) {
Entity b = (Entity)it.next();
EnglishName n = new EnglishName(b.getS("last_name"),
b.getS("first_name"),
b.getS("mid_initl"));
out.write("" + b.getS("pat_num")
+ " | "
+ n.toString()
+ " |
\n");
}
}
finally {
if (s!=null) s.close();
}
%>
post X§áXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXcate ÛqYžX§á Lº|9ù»jy v m cat @ÛqYžX§á Lº|9ù»jy v m ÿÿþ aux LSURL Dhttp://www.medg.lcs.mit.edu/courses/6872/hw/deadsource/index.jsp.txt