java¶ÁÈ¡xmlÅäÖÃÎļþ
xmlÎļþÈçÏ ÅäÖù¦ÄÜ¿ª¹Ø
<Configurations>
<Samples>true</Samples>
<Excepts>true</Excepts>
<CheckFace>false</CheckFace>
<ThumbNail>false</ThumbNail>
<ScanDir>xuzhen</ScanDir>
<SampleDir>G</SampleDir>
<ExceptDir>G:</ExceptDir>
<PicScanDB>G:</PicScanDB>
<DBName>xuzhen</DBName>
<DBHost>sdfsdfsdf</DBHost>
<DBUser>xuzhen</DBUser>
<EthIP>192.168.0.117</EthIP>
<DBPassWd>xuzhen</DBPassWd>
<Spec>*.jpg;*.jpeg;*.jpe;*.jfif;*.bmp;*.dib</Spec>
<After>1980-01-02 00:00:00</After>
<InitThreadNum>20</InitThreadNum>
<MaxThreadNum>40</MaxThreadNum>
<LogLevel>9999</LogLevel>
<DeleteChecked>FALSE</DeleteChecked>
</Configurations>
²Ù×÷Àà
package com.ibstech.controller.syntax;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.InvalidPropertiesFormatException;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Entity;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import com.opensymphony.xwork2.ActionSupport;
import com.sun.org.apache.xml.internal.serialize.OutputFormat;
import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
public class ServerManager {
public static HashMap GetXML() {
Ïà¹ØÎĵµ£º
ÎÒÃÇΪʲôҪȥÃæÊÔ ? ÃæÊÔµÄÄ¿µÄÊÇʲô ?
ÃæÊÔÒª½â¾öÄļ¸¸öÎÊÌâ ?
Ò»¡¢ÃæÊÔµÄÄ¿µÄ
¶þ¡¢ÃæÊÔÇ°µÄ×¼±¸
Èý¡¢ÃæÊÔ³£¼ûÎÊÌâ½â´ð
A¡¢ÏîÄ¿¾Àí³£¼ûÎÊÌâ
B ......
Ñо¿E4XÓëFlexµÄ¹Øϵ£¬ËùÒÔ´òËã×ܽáһϣ¬ÓÐ˵µÄ²»¶ÔµÄµØ·½£¬»¹Çë´ó¼Ò¶à¶àÔÁ¡£
Ò»¡¢×î¼òµ¥Ä£Ê½£ºFlexͨ¹ýhttpserviceºÍdataProvider½øÐÐÊý¾Ý´«Êä
Xml¸ñʽÈçÏ£º
<?xml version="1.0" encoding="utf-8" ?>
<Result>
<NodeA>value1</NodeA>
<NodeB>valve2</NodeB>
…&he ......
Ó¦Ò»¸öͬʵÄÒªÇó£¬ÒªÀûÓÃstrtusµÄAction½«Ò»¸öÊý¾Ý¿â±íµÄÊý¾ÝÊä³öΪxml¸ñʽµÄÊý¾Ý£¬·½±ãµ¼ÈëʹÓ᣾Ñо¿Action»¹ÕæÄÜ°ìµ½£¬Êµ¼ÊÉϲ»ÊÇActionµÄ¹¦ÀÍ£¬¶øÊÇJDOMµÄ¹¦ÀÍ£¬²»ËµÄÇô¶àÁË£¬¸ø´ó¼Ò·ÖÏíһϡ£ ÎÒÓÐÒ»¸ö²âÊÔ±í£¬ÓÐÁ½¸ö×ֶΣ¬Ò»¸öÊÇÓû§Ãû£¬Ò»¸öÊÇÃÜÂ룬ÏÖ½«Õ⸠......
the content of element type "jboss" must matched loader-respository ,jmx-name,enforce-ejb-restriction,
security-domain,missing-method-permission-excluded-mode,unauthenticated-principal,exception-on-rollback,
webservices,enterprice-beans,assembly-descriptor,resource-managers,invoker-proxy-bin ......