
Chapter 7 Deploying Web Applications in Apache Tomcat
Creating servlets
To create a servlet:
- Create an Object-Oriented Model (OOM) with the Java language.
- Select Tools→Create Servlet wizard.
- Enter the name of the servlet, click Next.
- Select the type of servlet (the superclass of the servlet), click Next.
- [optional] Select an existing class as the Servlet class.
- [optional] Create a component diagram and a component symbol.
If you already have a class and you want to transform the class into a servlet, you can right-click the class and select Create Servlet.
For more details about how to create servlet, see the OOM User's Guide.
Copyright (C) 2005. Sybase Inc. All rights reserved.
|
|