...
- Create a new directory to hold all the application related files. In the rest of this section, this directory is referred to as <app_home>.
- In the <app_home> directory, create a plain text file named HelloWorld.jsp, and then copy the following code to this file.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<html> <head> <jsp:useBean id="datetime" class="java.util.Date"/> <title> Basic HelloWorld JSP </title> </head> <body bgcolor="#1276C2"> <h1> <font face="tahoma" color="white"> Hello world from GERONIMO! </font> </h1> <font face="tahoma" color="white">on ${datetime}</font> </body> </html> |
To deploy an application, you must create a Geronimo specific deployment plan. To create the deployment plan for the sample application:
...