My Oracle Support Banner

WebCenter Sites 11g JSP 2.1 Errors When Using trimDirectiveWhitespaces (Doc ID 1494706.1)

Last updated on NOVEMBER 03, 2022

Applies to:

Oracle WebCenter Sites - Version 7.6.0 and later
Information in this document applies to any platform.

Symptoms

The JSP directive <%@ page trimDirectiveWhitespaces="true"%> is not working on WebLogic.

The following error is shown:

MyElement.jsp:1:10: The attribute "trimDirectiveWhitespaces" is supported by JSP 2.1 or higher version.
<%@ page trimDirectiveWhitespaces="true"
         ^----------------------^

The same thing works fine on Tomcat.

Changes

 

Cause

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
Symptoms
Changes
Cause
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.