request.getParameter Returns NULL
(Doc ID 2336498.1)
Last updated on OCTOBER 13, 2020
Applies to:Oracle WebLogic Server - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
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 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:
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