My Oracle Support Banner

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

Last updated on DECEMBER 21, 2018

Applies to:

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


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.


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

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