InfoCenter Home >
4: Developing applications >
4.2: Building Web applications >
4.2.1: Developing servlets >
4.2.1.2: Servlet support and environment in WebSphere >
4.2.1.2.3a: Invoking servlets by classname and serving files
4.2.1.2.3a: Invoking servlets by classname and serving files
IBM Application Server provides some optional functions for your Web applications.
The tables below describe the function and how to use the WebSphere Application
Server tools to enable the function in your Web application.
Invoke servlets by class name
Objective |
Invoke servlets by class or code names (such as MyServletClass) |
How to enable the function |
Use one of the following facilities:
|
Serve files without specifically configuring them
Objective |
Serve HTML, servlets, or other files in the Web application
document root without extra configuration steps.
For HTML files, you will not need to add a pass rule to
the Web server. For servlets, you will not need to explicitly
configure the servlets in the WebSphere administrative domain.
|
How to enable the function |
Use one of the following facilities:
- If using the Application Assembly Tool (AAT),
click File Serving Enabled in the IBM Extensions panel.
- In the ibm-web-ext.xmi file, change the
fileServingEnabled flag from false to true.
|
|
|