如何修改报表平台中数据决策系统登陆地址

用FineRepor搭建的数据决策系统,系统自动生成的地址一般都比较长,比如原来的登陆地址:http://196.128.1.2/WebReport/ReportServer?op=fs地址太长不易记忆,这就产生了一个问题:如何实现直接在在浏览器输http://196.128.1.2就能访问数据决策系统?

对于这个问题,一般有两个解决思路:

一、设置跳转

在FineReport服务器的初始加载页面进行跳转,这个方法技术上比较容易实现,具体实现方法也多样,就不赘述了。

二、iframe嵌入

修改 tomcatconf下的web。xml  设置加载的引导页<welcome-file>index.jsp</welcome-file>
把root目录下
index。jsp里的代码修改为以下,
    <%@ page language="java"import="java.util.*" pageEncoding="UTF-8"%>  
    <html>  
        <head>  
            <title>数据决策系统</title>  
        </head>  
        <body>  
            <iframeid="reportFrame"src="/WebReport/ReportServer?op=fs"  
               name="itemslist" frameborder="0" width=100%height="100%"></iframe>  
        </body>  
    </html> 

原文地址:https://www.cnblogs.com/liang123/p/6325082.html