Project

General

Profile

Static Web Content

Introduction

Customers using FWD for a web based application often have static HTML (and other non-HTML) resources which need to be delivered securely to the browser. Examples of non-HTML resources would include javascript and images. The FWD Server contains an embedded Jetty web server which can be easily configured to serve these resources. This support was added in FWD v4.0 (see #4405 for details).

Resource Locations

Resources can be placed in the filesystem of the FWD Server or in an application jar file that is part of the FWD Server's CLASSPATH. If the resources are in the filesystem, they need to be readable by the FWD Server process.

Configuration

One or more of these sets of resources can be configured in the FWD Server's directory. Each set of resources will be mapped to its own context path and must be located as noted in Resource Locations.

See Static Web Content in the Directory Configuration chapter for details.

Security

At this time, all configured resources are public and read-only. This means that any GET request for an existing resource that is configured will be serviced. No other access (e.g. POST, PUT, DELETE, PATCH) of these resources is possible.

A subsequent task #5262 will be worked to add full configurable security.


© 2021 Golden Code Development Corporation. ALL RIGHTS RESERVED.