一:关于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");
%>
<html>
<%
String docName =new String(request.getParameter("docName") .getBytes("GB2312"),"8859_1");
response.setHeader("Content-disposition", "attachment;filename=" + docName + ".doc");
%>
四:XML解析
XStream
五:AJAX
prototype