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

ÔÚXMLÎļþÖжÁÈ¡ÊôÐÔÎļþ£¨.properties£©ÖеÄÔªËØÖµ

ÔÚXMLÎļþÖжÁÈ¡ÊôÐÔÎļþ£¨.properties£©ÖеÄÔªËØÖµ£º
web.xml
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/conf/dataAccessContext.xml</param-value>
</context-param>

<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
dataAccessContext.xml
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>/WEB-INF/conf/proxool-jdbc.properties</value>
</list>
</property>
</bean>

<bean id="dataSource" class="org.logicalcobwebs.proxool.ProxoolDataSource" autowire="byName">
<property name="driver">
<value>${proxool.driver}</value>
</property>
<property name="driverUrl">
<value>${proxool.url}</value>
</property>
<property name="user">
<value>${proxool.username}</value>
</property>
<property name="password">
<value>${proxool.password}</value>
</property>
<property name="alias">
<value>${proxool.alias}</value>
</property>
<property name="houseKeepingSleepTime">
<value>90000</value>
</property>
</bean>
proxool-jdbc.properties
proxool.driver=org.gjt.mm.mysql.Driver
proxool.username=xx
proxool.password=xx
proxool.url=jdbc:mysql://localhost:3306/xxx?useUnicode=true&characterEncoding=utf8&user=xx&password=xx
proxool.alias=xxx


Ïà¹ØÎĵµ£º

D Busѧϰ£¨¾Å£©£ºÀûÓÃXML¶¨ÒåD BusÖ®SingalÊÕ·¢Àý×Ó


¡¡¡¡ÔÚÇ°ÃæÎÒÃÇѧϰÁËʹÓÃGlibµÄ¸ß³ÌÀ¦°ó·½Ê½µÄmethodµÄÊÕ·¢£¬ÏÖÔÚѧϰsingalµÄÊÕ·¢£¬xmlÀý×ÓÈçÏÂ
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/com/wei/MyObject">
  <interface name="com.wei.MyObject.Sample">
    < ......

ÔÚ.NETÌåϵ½á¹¹ÖУ¬XMLÊǸ÷Ó¦ÓÃÖ®¼äÎÞ·ì½ÓºÏµÄ¹Ø¼ü

  ¶ÔÓÚ.NETµ½µ×ÊÇʲôÕâ¸öÎÊÌ⣬ÓÐן÷ÖÖ¸÷ÑùµÄ˵·¨¡£µ«µ±Ê±×÷ΪÊ×ϯִÐйٵı«¶ûĬӦ¸Ã×îÄÜ´ú±í΢Èí¹«Ë¾µÄ¹Û
µã£¬Ëû˵£º“Microsoft.NET ´ú±íÁËÒ»¸ö¼¯ºÏ¡¢Ò»¸ö»·¾³¡¢Ò»¸ö¿ÉÒÔ×÷Ϊƽ̨֧³ÖÏÂÒ»´úInternetµÄ¿É±à³Ì½á¹¹¡£”È·
ʵ£¬Õâ¾ä»°»ù±¾Éϼòµ¥¶óÒªµØ±íÊöÁË.NETµÄÍâÌØÐÔ¡£
  .NETÊ×ÏÈÊÇÒ»¸ö»·¾³¡ ......

XML ²éѯ¡¢Ìí¼Ó¡¢Ð޸ġ¢É¾³ý

Query:
XmlDocument doc = new XmlDocument();
  
doc.Load(Server.MapPath(".\\db\\dbGuest.xml"));
           
//UserÊÇXML¸ù½Úµã,Name×Ö½Úµã
      lbEmail.Text =
doc.SelectSingleNode("//User ......

wxwidgets ÓÃxmlÀ´ÃèÊö½çÃ棬ÔÚ³ÌÐòÀï»ñÈ¡ ±äÁ¿ºÍʼþ

Èç¹û¶Ô½çÃæÃÀ¹Û³ÌÐò±È½Ï¸ß£¬ÊÖд´úÂëÊDz»¿É±ÜÃâµÄ¡£
µ«Èç¹û×öµÄÊÇһЩÏñÖ»ÊÇΪÁËÏÔʾ¡¢¿ØÖÆÖ®ÀàµÄ³ÌÐò£¬¿ÉÄܸü¿ìµÄ°Ñ³ÌÐòµ·¹Ä³öÀ´¾ÍºÃÁË¡£
wxwidgets
ÓÐÕâÑùµÄÒ»¸ö¹¦ÄÜ£¬¾ÍÊÇÄÜÓÃxmlд³É½çÃæ¾ÍÄÜÏÔʾ
±à¼­xrcµÄ¹¤¾ßÊÇwxformbuilder,¿ªÔ´Ãâ·ÑµÄ£¬Ò²×ã¹»ÓÃÁË£¬ÎÒÒ»¿ªÊ¼Ã»ÕÒµ½Ôõô
Éú³Éxrc,ºóÀ´Ä³´ÎżȻ¿´µ½ÁËÏÂÃæ....Ô­À ......

ÔõôÓÃXML´«ËÍͼÏñÊý¾Ý

DelphiÖÐÓÐÒ»¸öEncdDecdµ¥Ôª,uses   Ëü,ÒÔϵĺ¯Êý³ö×ÔÕâ¸öµ¥Ôª  
   
  1.ÓÃTBitmap¶ÔÏóLoadͼƬ  
    TBitmap.LoadfromFile  
  2.°ÑTBitmap´æÈëÒ»¸öStreamÖÐ    
TBitmap.SaveToStream(mapStream)  
  3.°ÑͼƬÁ÷½øÐÐbase64±àÂë,É ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ