Scriptlets in JSP do not get executed (Doc ID 1392570.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.3 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

There are a number of JSP's in a web application (webapp) that is deployed successfully on Weblogic 10.3.3 (WLS).

Everything is working fine, except those JSP's that contains scriptlets do not get executed.  In other words, the scriptlets in the JSP generated class files do not get interpreted and replaced with appropriate java codes.  Instead, when the JSP is displayed in the "View Source" in the browser, the scriptlets were displayed as if they are text in the JSP, rather than being replaced properly executed results from the java codes in the scriptlets.

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