java web
Rebecca_Zhong
这个作者很懒,什么都没留下…
展开
-
Java web.xml session-config 属性配置
在Java Web开发中,Session为我们提供了很多方便,Session是由浏览器和服务器之间维护的。Session超时理解为:浏览器和服务器之间创建了一个Session,由于客户端长时间(休眠时间)没有与服务器交互,服务器将此Session销毁,客户端再一次与服务器交互时之前的Session就不存在了。设置Session超时时间方式:方式一:在web.xml中设置session-co转载 2015-10-23 09:49:24 · 6157 阅读 · 0 评论 -
eclipse使用ant编译问题
Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. Program will exit.JRE version less than 1.7 is not supported.原创 2015-12-28 16:45:08 · 7293 阅读 · 0 评论 -
java实现在线预览office文档
本文采用openoffice+pdf2htmlEx和openoffice直接转为html方式实现在线预览1.下载openoffice,官网地址:http://www.openoffice.org/download/index.html。安装,并作为服务在后台启动,后台启动命令:在openOffice的安装目录下的program文件夹下,windows命令:soffice -headless -原创 2016-03-16 11:07:38 · 6194 阅读 · 2 评论 -
Office Web Apps Server作为Client,Java代码作为Host实现Office在线预览
1.先要在Windows Server 2008或2012上安装好Office Web Apps Server,网上已有相关文章,此处不再赘述。Windows Server 2008部署步骤:http://www.cnblogs.com/yanweidie/p/4516164.html 微软官方地址:https://technet.microsoft.com/zh-cn/library...2016-03-31 14:56:07 · 558 阅读 · 0 评论