JSP Compiler Logic Change In WL 12.1.3

(Doc ID 2336498.1)

Last updated on DECEMBER 25, 2017

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3.0.0 version, General component
We are migrating applications to Weblogic 12.1.3 from Weblogic 12.1.1, a change in the JSP logic was discovered. Below is a code snippet from the JSP Source Code followed by the relevant lines in the .java files produced by the weblogic.appc invocation to precompile the JSPs. The “view source” from the web browser produces different results from the request.getParameter(“formId”) call. In weblogic 12.1.1 the result is ‘var formId = “” ‘ (an empty String for the variable formId) while in weblogic 12.1.3 we see ‘var formId = “null”; (the String “null” for the variable formId). This change produces an incorrect flow through our existing mission code. We want the 12.1.3 behavior to match 12.1.1.
This particular request parameter is optional and may not exist on all requests


In WLS 12.1.3 environment, it shows:



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