My Oracle Support Banner

How to remove white space generated by line breaks in JSP pages (Doc ID 2495612.1)

Last updated on MARCH 28, 2023

Applies to:

Oracle WebCenter Sites - Version 12.2.1.0.0 to 12.2.1.3.0 [Release FatWire]
Information in this document applies to any platform.

Goal

 - JSP pages contain excess whitespace. It does not break the formatting, but it does add size to the total data streamed and makes the source hard to read. Can this be configured?

 - Few suggestions(Compression and JSP Design) are given in below documentation and KM notes. 

Document: https://docs.oracle.com/en/middleware/webcenter/sites/12.2.1.3/wbcsd/understanding-white-space-and-compression.html#GUID-E4D46BF1-79DB-45C6-A71B-A09046A76911

KM Notes:

    How Can Whitespace Be Reduced In Our JSP Templates Or CSElements? (Doc ID 1444942.1)

    Line breaks in JSP pages rendering white space (Doc ID 1440094.1)

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.