摘要:
public byte[] getBitmapByte(Bitmap bitmap){ ByteArrayOutputStream out = new ByteArrayOutputStream(); bitmap.compress(Bitmap.CompressFormat.JPEG, 100, out); try { out.flush(); out.close(); } catch (IOException e) { e.printStackTrace(); } return out.toByteArray(); } public Bitmap getBitmapFromByte(by. 阅读全文
摘要:
tomcat启动时报如下错误: Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sinoservices.wms.order.service.WmFactSkuManager com.sinoservices.wms.order.service.impl.WmFactSkuDetailInManagerImpl.wmFactSkuManager; nested exception is org.springframework.bea 阅读全文
摘要:
jQuery中 的 unique() 函数实现了对 DOM ELement按出现位置进行排序并去除重复元素的功能。使用方法如下:<html><head></head><body onload="test()"><div id="div_1"> <div id="div_2" /></div><div id="div_3" /><script type='text/javascript' src= 阅读全文