|
WebLogic Server 6.0.0 Code Examples, BEA Systems, Inc. |
See:
Description
Cookie Example File Summary | |
web.xml | Web Application deployment descriptor. The descriptor configures a servlet, a welcome file (.html), and an error page (.jsp). |
error.jsp | Error page for the cookie Web Application. |
hello.html | Welcome page for the cookie Web Application. |
cookie.jpg | Image file displayed in by the CookieCounter servlet |
CookieCounter.java | The CookieCounter servlet from the examples.servlets package is compiled and packaged into the WAR file created in this example. |
This example demonstrates the Web Application Archive (WAR) format and how a Web Application is deployed and accessed from a browser client. This example demonstrates how servlets and served files (.html, .jsp, and image files) must be packaged when deployed in a WAR file.
Perform the following steps in order to build and run the example:
http://hostname:port/cookiewhere:
|
Documentation is available at http://e-docs.bea.com/wls/docs60/ |