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

C#ÈçºÎ·¢ËÍͼƬÐÅÏ¢¸øJAVA³ÌÐò½ÓÊÕ - Java / Java SE

ÎҵĿͻ§¶ËÊÇÓÃC#дµÄ£¬C#ÓÃSOCKET·¢ËÍÈçºÎ·¢ËÍͼƬÊý¾Ýµ½Ò»¸öJAVAµÄ³ÌÐòÀ´½ÓÊÕͼƬÐÅÏ¢ÄØ£¬ÎÒµÄC#ÐòÁл¯ºóÓÃJAVA²»ÖªµÀÄܲ»ÄÜ·´ÐòÁл¯£¬²»ÖªµÀÄÄλ´óÏÀÓÐ×ö¹ýÕâ·½ÃæµÄ³ÌÐò£¡ÁíÍâÊǽ«Í¼Æ¬ÐòÁл¯³ÉÒ»¸ö×Ö·û´®´æµ½XMLÀïÃæ£¬JAVAÊÕµ½ÐÅÏ¢Ö®ºó½âÎöXML»ñµÃÕâ¸öÐòÁл¯Ö®ºóµÄͼƬ×Ö·û´®ÔÙ·´ÐòÁл¯£¬Èç¹ûÁ½¶Ë¶¼ÊÇC#ÎÊÌâ²»´ó£¬µ«ÊDz»ÖªµÀJAVAÔõô×ö£¡
²»ÖªµÀJAVAÖÐÈç¹ûͨ¹ýSOCKET´«ËÍͼƬ»òÕßÎļþ£¬½«ÎļþÐòÁл¯µ½XMLÖÐÖ®ºóÈçºÎ·´ÐòÁл¯
ÏÂÃæÊÇÎÒC#ÐòÁл¯µÄ´úÂë
C# code:

Bitmap bitMap = new Bitmap(filename);
MemoryStream ms = new MemoryStream();
bitMap.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);

StringWriter sw = new StringWriter();
XmlTextWriter xw = new XmlTextWriter(sw);
xw.Formatting = Formatting.Indented;
XmlSerializer ser = new XmlSerializer(ms.GetBuffer().GetType());
ser.Serialize(xw, ms.GetBuffer());
string xmlString = sw.GetStringBuilder().ToString();
xw.Close();
sw.Close();
ms.Close();

XmlDocument doc = new XmlDocument();
doc.LoadXml(xmlString);
if (doc != null && doc.ChildNodes.Count > 1 && doc.ChildNodes[1] != null)
{
XmlNode node = doc.ChildNodes[1];
photoString = node.InnerText;
}


¿´²»¶®c#   &n


Ïà¹ØÎÊ´ð£º

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

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

FCKÉÏ´«Îļþµ½linux·þÎñÆ÷ÎÊÌâ - Java / Java EE

ÇëÎÒÓÃFCKÉÏ´«Îļþ,ÔÚ±¾µØµÄwindows»úÉϲâÊÔ¿ÉÒÔ£¬µ«²¿Êðµ½linux·þÎñÆ÷ÉϾÍÉÏ´«²»ÁËÎļþ£¬ÉÏ´«Îļþʱһֱ¿¨ÔÚÄÇÀï¡£Íû¸÷λ´óϺָµã£¬Ð»Ð»£¡
·¹ý£¬°ïÄ㶥һϡ£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£

ÉÏ´«ÎļþµÄ·¾¶ÎÊÌ⣬ ......

Flex Óë java ͨÐÅ¡£¡£¡£¡£ - Java / Java EE

ÈçÌâ¡£¡£
ÏÖÔÚСµÜ ¸Õ¸Õ½Ó´¥ flex ÏëÕÒÒ»¸ö ¾ßÌåµÄÀý×Ó £¨Èç µÇ½ ×¢²áµÄ ¹¦ÄÜʵÏÖ £©¡£¡£
java ºÍ flex ͨÐŵÄ
ÅäÖÃÎļþ java ´úÂë flex ǰ̨ AS ½Å±¾ ×îºÃ ¶¼ дÉÏÈ¥¡£¡£¡£¡£
СµÜ ÏîÑо¿Ñо¿¡£¡£¡£ ......

jspÎļþµ½µ×Òª²»Òª¼ÓNo-cache - Java / Web ¿ª·¢

ÓÃStruts2+Spring+Hibernate×öµÄÒ»¸öwebµÄERPСÏîÄ¿£¬×ܲ¿Ò»Ì¨·þÎñÆ÷£¨Êý¾Ý¿âÓëWeb·þÎñÆ÷ÔÚͬһ»ú×ÓÉÏ£©Êǵ¥¶À²¦ºÅÉÏÍøµÄ£¬Óë·Ö¹«Ë¾Ã»ÓÐÓþÖÓòÍøÏߣ¬Ó²¼þÌ«¹óÁË£¬ÆäËû¼¸¸öÊ¡Êзֹ«Ë¾¶¼À´·ÃÎÊÕâÒ»·þÎñÆ÷£¬¸Ð¾õºǫ́´ú ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ