Start of Tutorial > Start of Trail |
Search
Feedback Form |
This lesson shows you a few ways to invoke servlets:
Servlets can be called directly by typing their URL into a browser's location window. This is how you access the main page of the Duke's Bookstore example. This section shows you the general form of a servlet URL.
Servlet URLs can be used in HTML tags, where a URL for a CGI-bin script or file URL might be found. This section shows servlet URLs being used as the destination of an anchor, as the action in a form, and as the location to be used when a META tag directs that a page be refreshed. This section assumes knowledge of HTML. If you don't know HTML you can learn about it through various books or by looking at the HTML 3.2 Reference Specification.
This lesson assumes that you have:
localhost
port 8080. Start of Tutorial > Start of Trail |
Search
Feedback Form |
Copyright 1995-2001 Sun Microsystems, Inc. All rights reserved.