一.概要
二.操作手順
1.ポートを変更
Tomcatサーバの運用保守をご確認ください。

<Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> |
http://localhost/webroot/decision
2.ウェルカムページの設定
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><html> <head> <title>FineReport</title> <link rel="stylesheet" type="text/css" href="/decision/file?path=/com/fr/web/core/css/leaflet.css&type=plain&parser=plain"/> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <iframe id="reportFrame" src="decision" allowfullscreen="true" name="itemslist" frameborder="0" width="100%" height="100%"></iframe> </body></html> |
<link rel="stylesheet" type="text/css" href="/decision/file?path=/com/fr/web/core/css/leaflet.css&type=plain&parser=plain"/> |
注意:このコードは、地図の表示にとって必要です。
<link rel="stylesheet" type="text/css" href="/decision/file?path=/com/fr/web/core/css/leaflet.css&type=plain&parser=plain"/> |
注意:ここの allowfullscreen="true" は、正常なフルスクリーン表示に必要です。
3.仮想ディレクトリの構築
2.ゆえに、

3.2.server.xmlの編集
下記の通りです。
<Context path="" docBase="E:\webroot" debug="0" reloadable="true" /> |
下の画像の通りです。

Contnetラベルのパラメータについて
path | |
docBase | |
debug | |
reloadable |
3.3.Finereport 10.0プロジェクトのweb.xmlファイルを変更
<?xml version="1.0" encoding="UTF-8"?><web-app xmlns="<a href="http://java.sun.com/xml/ns/j2ee" "="" style="text-decoration-line: none; border-radius: 0px; background: 0px center; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 51, 102) !important;">http://java.sun.com/xml/ns/j2ee" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" "="" style="text-decoration-line: none; border-radius: 0px; background: 0px center; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 51, 102) !important;">http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee <a href="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" "="" style="text-decoration-line: none; border-radius: 0px; background: 0px center; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 51, 102) !important;">http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"> <display-name>Template WebApp</display-name> <mime-mapping> <extension>msi</extension> <mime-type>application/x-msi</mime-type> </mime-mapping> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>a.jsp</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list> </web-app> |
下の画像の通りです。
3.4.効果

三.注意事項
1.IE9ブラウザでページが完全に表示できない問題
問題の概要
解決策
2.ウェルカムページの設定
<html> <head> <title>FineReport</title> <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge"/> <link rel="stylesheet" type="text/css" href="/decision/file?path=/com/fr/web/core/css/leaflet.css&type=plain&parser=plain"/> <style type="text/css"> html, body { margin: 0px 0px; width: 100%; height: 100%; } iframe { margin: 0px 0px; width: 100%; height: 100%; } </style> </head> <body> <iframe id="reportFrame" src="decision" name="itemslist" frameborder="0"></iframe> </body> </html> |
四.サーバーのIPアドレスを入力
1.デザイナのリモートデザインモードで帳票プロジェクトに接続

2.アプリでポータルにアクセス
http://192.168.1.1:80/decision