Examples of DaoTest


Examples of com.dao.DaoTest

    HttpServletResponse response = ServletActionContext.getResponse();
    response.setContentType("text/xml;charset=utf-8");
    response.setHeader("Cache-Control", "no-cache");
    PrintWriter out = response.getWriter();
    System.out.println("调用了.........");
    DaoTest test = new DaoTest();
    ArrayList<Nodes> list = test.getNodeInfo();
    if (list != null && list.size() > 0) {
      out.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
      out.println("<nodes>");
      for (int i = 0; i < list.size(); i++) {
        Nodes node = list.get(i);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.