com.ajaxjs.cms.controller.DataBaseConnectionController Maven / Gradle / Ivy
The newest version!
package com.ajaxjs.cms.controller;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import com.ajaxjs.mvc.Constant;
import com.ajaxjs.mvc.ModelAndView;
import com.ajaxjs.mvc.controller.IController;
import com.ajaxjs.mvc.controller.MvcRequest;
import com.ajaxjs.util.CommonUtil;
@Path("/admin/DataBaseConnection")
public class DataBaseConnectionController implements IController {
@GET
public String show(ModelAndView mv, MvcRequest request) {
mv.put("list", get(request.mappath("/META-INF/context.xml")));
return Constant.jsp_perfix + "/system/DataBaseConnection";
}
public static List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy