@SuppressWarnings({ "rawtypes", "unchecked" })
	private void initAjaxRender() {
		try {
			Element root = configXml.getDocumentElement();
			NodeList nodeList = root.getElementsByTagName("ajaxRender");
			if (nodeList.getLength() == 0) {// 如果没有配置则默认是json渲染
				RenderFactory.setAjaxRender(new JsonRender());
			} else if (nodeList.getLength() > 1) {// 配置了多个抛错
				throw new WqMvcException(
						"It must be only one node of 'ajaxRender'...");
			} else {
				// 取class属性值：ajax渲染器的实现类
				Node node = nodeList.item(0);
				String clsName = node.getAttributes().getNamedItem("class")
						.getNodeValue();
				if (clsName == null) {
					throw new WqMvcException(
							"There is no attribute of 'class' in the node of 'ajaxRender'...");
				}
				Class cls = Class.forName(clsName);
				// 必须实现Render接口
				if (!ReflectUtil.isImplementsInterface(cls,
						Render.class.getName())) {
					throw new WqMvcException(
							"AjaxRender must implements 'com.wq.web.servlet.render.Render'...");
				}
				// 初始化Render实例
				RenderFactory.setAjaxRender((Render) ReflectUtil
						.newInstance(cls));
			}
		} catch (ClassNotFoundException e) {
			throw new WqMvcException(e);
		}
	}