2. For the Oracle® Containers for J2EE Configuration and Administration Guide, Using the admin_client.jar Utility please refered the link here.
3. Another important consideration in when migrating is that the default behaviour of the 10.1.3. 10.1.10 Invocation by Servlet Name without Mapping Is Disabled by Default
The 10.1.3.x Oracle Containers for J2EE Servlet Developer's Guide notes that by default, servlet invocation by class name is now disabled, but can be enabled through the property setting -Dhttp.webdir.enable=true
. (Servlet invocation by class name was enabled by default in versions 10.1.2.x and prior.)
What is similar, but undocumented, is that this also applies to invoking a servlet through its
value when there is no corresponding
entry. Invoking a servlet through its servlet name in this way was enabled by default in 10.1.2.x and prior, but requires the setting -Dhttp.webdir.enable=true
in 10.1.3.x versions.
For example, consider the following web.xml
entry, with no corresponding
entry:
TestIt
mypackage.TestIt
In 10.1.2.x, you could access this servlet using /servlet/TestIt
without any property setting. In 10.1.3.x, you must set -Dhttp.webdir.enable=true
to access the servlet in this way with the given configuration.
No comments:
Post a Comment