|
|
Writing and Registering HTTP Servlets
Before writing and registering HTTP servlets, you must first import the packages that support Jolt servlet connectivity (jolt.jar, joltjse.jar, servlet.jar). HTTP servlets must extend javax.servlet.http.HttpServlet. After you write your HTTP servlets, you register them with a Web server that supports generic servlets. Your custom servlets are treated exactly like the standard HTTP servlets that provide the HTTP capabilities.
Each HTTP servlet is registered against a specific URL pattern, so that when a matching URL is requested, the corresponding servlet is called upon to handle the request.
Refer to the documentation for your particular Web server for instructions on how to register servlets.
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|