摘要:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html xmlns="http://www.w3.org/1999/xhtml">&...
阅读全文
posted @
2009-08-29 22:22 小果子 阅读(614) |
评论 (0) |
编辑 收藏
1.原页面我用utf-8编码
2.设置一个filter,统一用utf-8
3.文件域乱码解决:
String encode=request.getCharacterEncoding();
ServletFileUpload upload = new ServletFileUpload(factory);
upload.setHeaderEncoding(encoding);
4.表单域乱码解决:
item.getString(encode);
posted @
2009-08-25 14:33 小果子 阅读(869) |
评论 (1) |
编辑 收藏
摘要: <object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="mp" width="300" height="240"> <param name="AudioStream" value="-1"> <...
阅读全文
posted @
2009-08-13 09:58 小果子 阅读(893) |
评论 (0) |
编辑 收藏
昨天查了下red5下netstream.byteslodaed,netstream.bytestotal为0的原因,下面是其中一段.
Why NetStream.liveDelay and NetStream.bytesLoaded aways is 0??
Not sure about liveDelay, but bytesLoaded and bytesTotal are only used with progressive streaming (ns = new NetStream(null) and will always be 0 when you use RTMP. With streaming you're never caching/loading bytes like you're doing with progressive.
posted @
2009-08-07 12:48 小果子 阅读(381) |
评论 (0) |
编辑 收藏
摘要: 1. 查询整个映射对象所有字段
//直接from查询出来的是一个映射对象,即:查询整个映射对象所有字段 String hql = "from Users"; ...
阅读全文
posted @
2009-07-21 14:17 小果子 阅读(941) |
评论 (0) |
编辑 收藏