躺在沙滩上的小猪

快乐的每一天

小结

上一周一直在做全文检索,做个小结:

一:关于Lucene
    这个没什么可说的了,有什么问题看Lucene in Action,要是还没能解答问题,请教mail-list

二:万恶的LOB
    我的情况:JDK1.3.1,本地测试是oracle的驱动,测试机上是weblogic的驱动,必须在提交的时候手工改为
 
OutputStream out =(( weblogic.jdbc.common.OracleBlob)blob).getBinaryOutputStream();

三:另存为word

   在写文件前添加如下代码:
<%@ page contentType="application/vnd.ms-word;charset=gbk" language="java" %>
<html>
<%
    
String docName =new String(request.getParameter("docName") .getBytes("GB2312"),"8859_1");
    response.setHeader(
"Content-disposition""attachment;filename=" + docName + ".doc");
%>

四:XML解析
   XStream


五:AJAX
   prototype

posted on 2006-02-28 09:58 martin xus 阅读(123) 评论(0)  编辑  收藏