<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.sql.*"%>
<%@ page import="javax.sql.*"%>
<%@ page import="javax.naming.*"%>
<%@ page import="javax.servlet.*"%>
<%@ page import="java.util.concurrent.ConcurrentHashMap"%>
<%@ page import="com.essa.util.BusinessSqlContainer"%>
<%@ page import="java.util.HashMap"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="java.util.Map"%>
<%
Map<String, String> tempMap = new HashMap<String, String>();
tempMap.put("11111111", "null");
tempMap.put("22222222", "null");
tempMap.put("33333333", "null");
tempMap.put("44444444", "null");
tempMap.put("55555555", "null");
tempMap.put("66666666", "null");
Iterator it = tempMap.entrySet().iterator();
while (it.hasNext()) {
Map.Entry entry = (Map.Entry) it.next();
Object key = entry.getKey();
Object value = entry.getValue();
out.println("key=" + key + " value=" + value);
//连接数据源
DataSource ds = (DataSource)application.getAttribute("dataSource");
//获得普通教师基本信息
ConcurrentHashMap<String ,Object> tempGetTeacherObject = (ConcurrentHashMap<String ,Object>)application.getAttribute("TeacherMap");
ConcurrentHashMap<String ,String> tempTeacherObject =(ConcurrentHashMap<String ,String>) tempGetTeacherObject.get(key);
out.println(tempTeacherObject.get("EJDWQC")) <br> ;
}
%>
你要响应什么呀?代码没粘全吧?重新粘一下
你要响应什么呀?代码没粘全吧?重新粘一下