Issue With Java Request Dispatcher Which Having A Single Query String With Value "" For Weblogic (Doc ID 1268289.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

HTTP forward requests that are invoked with a trailing '?' and without a GET parameter fail with a 404 error.

For example please see the following code snippet.

urlAdd = ""

javax.servlet.RequestDispatcher dispatcher = getServletConfig().getServletContext().getRequestDispatcher("/CheckAvail?"+urlAdd);
dispatcher.forward(request,response);

If this is used in any other server, the requested Page is loaded. If used in WLS it gives 404 Error.

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