Figure 86. Documentation screen for IBM HTTP Server
4.1.1.3 Servlet management with WebSphere
Using the WebSphere administration in port 9527 of our Web server, we can
manage the servlet that is in our environment. This section discusses adding,
loading, unloading, and deleting servlets. A more complete coverage of
WebSphere administration can be found at:
http://www.software.ibm.com/Web servers/appserv/index.html
Adding a servlet
Once the servlet has been written, it needs to be registered with WebSphere
before use. This requires the following steps to be completed:
1. Put a copy of the compiled servlet class file in the servlet root directory. By
default, the server looks for servlet class files in the servlet root directory,
/opt/IBMWebAS/servlets.
2. If the servlet class belongs to a package, mirror the package structure as
subdirectories under the servlets directory. For example, our servlet is
called penguins.access.db2.AccessUserstuf; so, the class file
AccessUserstuf.class is copied to the following directory structure:
/opt/IBMWebAS/servlets/penguins/access/db2.
Chapter 4. Operational considerations
113




  

Home

About Services Network Support FAQ Order Contact
 

Linux Web Hosting

Our partners:Jsp Web Hosting Unlimited Web Hosting Cheapest Web Hosting  Java Web Hosting Web Templates Best Web Templates PHP Mysql Web Hosting Interland Web Hosting Cheap Web Hosting PHP Web Hosting Tomcat Web Hosting Quality Web Hosting Best Web Hosting  Mac Web Hosting 

Lunarwebhost.net  Business web hosting division of Vision Web Hosting Inc. All rights reserved