JSP Service

JSPサービス

Turbine supports the use of JSP internally through a Service which provides JSP related Modules with access to the JSP engine directly. We have another document which gives a howto on configuration of Turbine to use JSP.

Turbineは、JSPに関連するモジュールやJSPエンジンへのアクセスを提供するサービスを内部的に通して、JSPの利用をサポートします。 もう一つのドキュメント、TurbineでJSPを使用するための設定方法を提供するhowtoもあります。

While Turbine supports the use of many templating systems, we definitely have our favorite system to use and recommend and that is Velocity.

さらに、Turbineは多くのテンプレートシステムもサポートします。 私たちが使用を好み推奨するシステムはVelocityです。

Configuration

設定

# -------------------------------------------------------------------
#
#  S E R V I C E S
#
# -------------------------------------------------------------------

# Classes for Turbine Services should be defined here.
# Format: services.[name].classname=[implementing class]
#
# To specify properties of a service use the following syntax:
# service.[name].[property]=[value]

# Turbineのサービスのためのクラス群はここに定義します。
# フォーマット: services.[name].classname=[implementing class]
#
# サービスのプロパティを設定するには、以下の書式を使用します:
# service.[name].[property]=[value]

services.JspService.classname=org.apache.fulcrum.jsp.TurbineJspService
.
.
.
# -------------------------------------------------------------------
#
#  J S P  S E R V I C E
#
# -------------------------------------------------------------------

services.JspService.template.extension=jsp
services.JspService.default.page = JspPage
services.JspService.default.screen=BaseJspScreen
services.JspService.default.layout = JspLayout
services.JspService.default.navigation=BaseJspNavigation
services.JspService.default.error.screen = JspErrorScreen
services.JspService.default.layout.template = /Default.jsp

services.JspService.templates = /templates/app
services.JspService.buffer.size = 8192

Usage

使用方法

Please refer to the org.apache.fulcrum.jsp classes for details on how to use this service.

このサービスの使用方法の詳細はorg.apache.fulcrum.jspのクラス群を参照してください。