'weblogic.servlet.jsp.CompilationException' Exception When Migrating Application That Uses JSTL 1.0 Library (Doc ID 1516178.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3.3 to 10.3.6
Information in this document applies to any platform.

Symptoms

When migrating legacy Web application that uses JSTL 1.0 to WebLogic Server 10.3.x,  the following error may appear:

 weblogic.utils.compiler.ToolFailureException: jspc failed with errors :weblogic.servlet.jsp.CompilationException: messageDisplay.jsp:19:7: Static attribute must be a String literal, its illegal to specify an expression.
<c:if test="${messageToDisplay != null}">

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms