是指用word打开文档是吗,你可以向客户端输出一个流,流的属性为用word打开就可以了,不过,好像得用servlet,可能jsp也可以,我没有试过,
不过,可以给你servlet的代码
import java.io.*; public class GetFile extends HttpServlet 

public void doGet (HttpServletRequest req,HttpServletResponse res) 
throws ServletException,IOException

try
{
byte[] fileContext=为你要输出的word的字符流
res.setContentType("application/msword");
ServletOutputStream servletOut = res.getOutputStream();
res.setContentLength(fileContext.length);
servletOut.write(fileContext);
servletOut.close();
}
}
catch(Exception e)
{
            throw new ServletException(e);
}

}