November 2003
Intermediate to advanced
1488 pages
36h 35m
English
Deploying servlets involves a few more steps than do HTML and JSP pages. Servlets must be defined in the Web application deployment descriptor, web.xml, and their deployment structures must match their package structures. The following steps will walk you through the deployment of a servlet:
1. | Create a directory to hold your servlet classes, if one isn't already present. Go to the Web application directory /DefaultWebApp, and under the /WEB-INF directory, create a subdirectory named /classes. If you created the domain mydomain from the first section in this appendix, your directory structure should resemble the following:
C:/bea/user_projects/mydomain/applications/DefaultWebApp/WEB-INF/classes |
2. | Copy your compiled servlet ... |
Read now
Unlock full access