更改openDocument默认的URL路径

bo3 OpenDocument 默认的URL路径是/OpenDocument/opendoc/openDocument.jsp

bo4 OpenDocument 默认的URL路径是/BOE/OpenDocument/opendoc/openDocument.jsp

现在从3牵到4,将报表的URL地址重写一遍不太可能,官方文档内提到的就下面一段话

The default URL to the OpenDocument web application bundle has changed in SAP BusinessObjects
Business Intelligence platform 4.0. New absolute OpenDocument links need to use the new default
URL:
http://<servername>:<port>/BOE/OpenDocument/opendoc/openDocument.jsp?<parameter1>&<parameter2>&...&<parameterN>
If you are migrating reports with existing links from an XI 3.x release platform, resolve the issue by
setting up the following redirect in your web server:
• Redirect:../OpenDocument/opendoc/openDocument.jsp
• To:../BOE/OpenDocument/opendoc/openDocument.jsp

算是给了个方法,具体怎样实现就靠自己了

综合网上资料,实现如下:

环境:TOMCAT服务器

新建文件Tomcat6\webapps\OpenDocument\opendocopenDocument.jsp

编辑内容

<% 
String redirectURL = "/BOE/OpenDocument/opendoc/openDocument.jsp?" + request.getQueryString(); 
response.sendRedirect(redirectURL); 
%>

OK

如果要跳转到不同TOMCAT的应用中就再加上server:port


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值