怎样改动报表平台中数据决策系统登陆地址

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

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

一、设置跳转

在FineReportserver的初始载入页面进行跳转。这种方法技术上比較easy实现,详细实现方法也多样,就不赘述了。

二、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/llguanli/p/6936218.html