My Oracle Support Banner

request.getParameter Returns NULL (Doc ID 2336498.1)

Last updated on NOVEMBER 13, 2023

Applies to:

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

Symptoms

When 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 WeLlogic 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:

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.