Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

xml½âÎö - Java / Web ¿ª·¢

<?xml version="1.0" encoding="UTF-8"?> 
<action>
<model name="listuser">  
<first>wang</first>  
<last>laohu</last>  
<age>25</age>  
<version>ÖйúÓʵç³ö°æÉç</version>  
</model>  
<model name="user">
<first>zhang</first>  
<last>li</last>  
<age>25</age>  
<version>ÖйúÓʵç³ö°æÉç</version> 
</model>
</action>
ÏÖÔÚÓÐÕâ¸öxmlÎļþ£¬ÎÒÏë°ÑËùÓÐÒªÓõ½µÄÖµ¶¼´æÔÚxmlÖУ¬¸ù½ÚµãºÍmodelÃû³ÆÊDz»Òª±äµÄ£¬ÏÖÔÚÖ÷Òª¾ÍÊÇÒª¸ù¾ÝmodelÖÐÅäÖõÄnameÊôÐÔ½«ÆäϵÄÓë´ËnameÃû³ÆÏàͬµÄËùÓÐÊôÐÔÖµ¶¼±£´æµ½mapÖУ¬ÒÔºóÖ±½Óͨ¹ý´«µÝµÄnameµÄÃû³Æ»ñÈ¡¸Ãmap¶ÔÏó£¬ÔÙÓÉmapÖÐÊôÐÔÃû³ÆÈ¡µ½ÓëÖ®¶ÔÓ¦µÄÊôÐÔÖµ¡£
ÇëÎÊһϣºÕâ¸ö¸ÃÔõôʵÏÖ °¡£¿

ÊÇÓÃorg.w3c.dom½øÐнâÎöµÄ

ÕâÊÇ´úÂ룬µ«ÊDz»ÄÜ»ñÈ¡nameµÄÊôÐÔÖµ
public class ReadXml {
Map map = new HashMap();

private Document doc = null;

/**
*´Ë·½·¨°üº¬Á½¸ö²ÎÊý£¬xmlFile±íʾµÄÊÇÐèÒª½âÎöµÄxmlÎļþÃû value±íʾ¸¸½ÚµãÃû£¬ÒÔºó¿ÉÒÔ±íʾ¹¦ÄÜÄ£¿éµÄÄ£¿é±àºÅ

* @param xmlFile
* String
* @param value
* String
* @return Map
*/
public Map viewXML(String xmlFile, String value) throws Exception {
  try{
 


Ïà¹ØÎÊ´ð£º

JSP/Servlet½»»¥ - Java / Web ¿ª·¢

JSPÒ³ÃæÖÐÓжà¸öradio°´Å¥
  JSPÒ³Ãæ½«²ÎÊýPOST¸øservlet
  
  ÒªÇóÈçÏÂ;
  1.Ñ¡ÔñÒ»¸öradio£¬µ÷ÓÃservlet servletÖиù¾Ý²ÎÊýµ÷ÓÃÆäËû½Ó¿Ú£¬³ý·ÇÑ¡ÖиÃradio²¢µã»÷JSPÖеÄʵР......

java swing ³ÌÐòÈçºÎ´ò°ü - Java / JavaÏà¹Ø

java swing ³ÌÐòÈçºÎ´ò°ü³Éjar£¬È»ºó¿ÉÒÔͨ¹ýÅú´¦ÀíÎļþbatÖ±½ÓÔËÐУ¬ÓÐûÓÐʲô¹¤¾ßÖ±½Ó¿ÉÒÔÍê³ÉÕâÁ½¸ö¹¤×÷£¿
ÓÃjar´ò°ü£¬°ÑÔËÐÐÐèÒªµÄjar¿½±´µ½Ò»¸öĿ¼£¬Åú´¦ÀíÓà start javaw -cp .;ÆäËû°ü·¾¶ ÔËÐÐ

ÓÃzip ......

myeclipse+mysqlµÄÅäÖÃÎÊÌâ - Java / Eclipse

ÎÒÊǸöÐÂÊÖ£¬Íû¸ßÊÖ½â´ð
ÎÒÏÖÔÚÒѾ­°²×°ÁËmysql£¬Ò²ÓÐmysqlµÄjdbc¡£µ«ÎÒÔõôÅäÖú󣬲ÅÄÜÔÚMyEclipseÀï²Ù×÷mysqlÄØ£¿Çë¸ßÊÖ˵Ïêϸµã
´ò¿ªMyeclipse----window---open perspective---MyEclipse database explorer-- ......

XMLѹËõ´«Êä - PowerBuilder / Web Ó¦ÓÃ

¹¦ÄÜ˵Ã÷:Java servlet °ÑXMLÊý¾ÝѹËõºó·¢Ë͵½PBÓû§¶Ë,PBÊÕµ½Êý¾Ýºó½âѹ³öÀ´.
´«ÊäÒª¾­¹ýBase64±àÂë.
ÎÊÌâÊÇ:ÄÜÊÕµ½Êý¾Ýµ«Êǽâѹ²»³öÀ´.ÏëÇë½Ì´ó¼Ò»òÕßÓÐʲôºÃµÄ°ì·¨?
PB¿ÉÒÔÓÃ"zlibwapi.DLL" ½âѹ
......

c/sºÍb/sÖ®¼äÔõôͨѶ. - Java / Web ¿ª·¢

ÔھƵê¹ÜÀíϵͳÖÐ,ÓÐÒ»¸ö¶ÔÄÚµÄϵͳ,¹©Ç°Ì¨·þÎñÔ±ºÍ¾­ÀíʹÓÃ
»¹ÓÐÒ»¸ö¾ÍÊǶÔÍâ,Èÿͻ§¿ÉÒÔÔÚÍøÉÏÔ¤¶©·¿¼ä,
ËüÃÇÖ®¼äÊÇÔõôͨѶµÄ.?µ±ÎÒÌá½»Ô¤¶©·¿¼äÐÅÏ¢µÄʱºò,
ÔÚ¶ÔÄÚµÄϵͳÖÐ,ÈçºÎÖªµÀÎÒÒѾ­Ìá½»ÁËÐÅÏ¢¹ýÈ¥.Ê¹Ç ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ