public static ArrayList<String> list;
static{
list=new ArrayList<String>();
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
public static ArrayList<String> listdc;
static{
listdc=new ArrayList<String>();
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
}
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
request.setCharacterEncoding(“UTF-8”);
response.setContentType(“text/html”);
ArrayList<String>list=getData();
public static ArrayList<String> list;
static{
list=new ArrayList<String>();
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
public static ArrayList<String> listdc;
static{
listdc=new ArrayList<String>();
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
listdc.add(“dcrewrwe3eeeeeeeeeeeeeeeee”);
}
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
request.setCharacterEncoding(“UTF-8”);
response.setContentType(“text/html”);
ArrayList<String>list=getData();
request.setAttribute(“new”, list);
request.setAttribute(“dc”, listdc);
request.getRequestDispatcher(“/page/default.jsp”).forward(request, response);
}
© 版权声明
文章版权归作者所有,未经允许请勿转载。