XML is text file , you can only insert into vector graphics described with XML as a node of your xml file . you can't insert into photograph based bin file.
解决方案 »
- JavaEE和JavaWeb不一样啊
- java加载图片
- spring mvc controller怎样注入service?
- 在Action中使用FileUpload,把页面的信息从request放到list中,为什么list为0啊?请高手指点!!!!
- java序列化
- Spring IOC AOP 能流行多久??
- weblogic如何配置呀
- JTable焦点控制的问题(如何使用KeyboardFocusManager)
- ejb-jar.xml中,role-name指的是什么??
- SQL语句怎么写 在线等
- iBatis调用Oracle返回游标的存储过程
- eclipse3.2 +wtp发布webservice server-config.wsdd找不到?
try {
// Convert a byte array to base64 string
byte[] buf = 需要的图片转化为byte[];用字节流读之类的方法
String s = new sun.misc.BASE64Encoder().encode(buf);
// Convert base64 string to a byte array
buf = new sun.misc.BASE64Decoder().decodeBuffer(s);
} catch (IOException e) {
}