Specifying a URL to map to your servlet

After this, you must specify what URL will map to your servlet. The final URL will be of the form http://hostname:port/specified_dir/specified_url_pattern

Figure 1. Specifying a URL to map to your servlet
Screen grab showing the WebSphere Administrative Console

All of the subsequent panels can be left blank. They are for adding resources, context parameters, error pages, MIME mappings, tag libraries, welcome files and EJB references.

Click Finish, and then save the file. If you save the file to \AppServer\InstallableApps\ where you installed WebSphere® application server, then it will automatically appear in the list of servlets in the administration panel.


Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.