How to modify the logon address of the Data Decision System on the report platform and the Decision System on the report Platform
In a data decision-making system built with FineRepor, the addresses automatically generated by the system are generally relatively long, such as the original login address:Http: // 196.128.1.2/WebReport/ReportServer? Op = fs,The address is too long to remember, which leads to a problem: how to achieve direct loss in the browserHttp: // 196.128.1.2Can access the data decision-making system?
There are two solutions to this problem:
1. Set redirect
Jump to the initial loading page of The FineReport server. This method is technically easy to implement and has various implementation methods.
Ii. iframe embedding
Modify the web under tomcat \ conf. Xml sets the loaded boot page <welcome-file> index. jsp </welcome-file>
Put the root directory
Index. Modify the code in jsp to the following,
<% @ Page language = "java" import = "java. util. *" pageEncoding = "UTF-8" %>
<Html>
<Head>
<Title> data Decision Making System </title>
</Head>
<Body>
<Iframeid = "reportFrame" src = "/WebReport/ReportServer? Op = fs"
Name = "itemslist" frameborder = "0" width = 100% height = "100%"> </iframe>
</Body>
</Html>
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.