Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: adjust indent spacing for HelloWorld.jsp sample

...

  1. 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>.
  2. In the <app_home> directory, create a plain text file named HelloWorld.jsp, and then copy the following code to this file.
Code Block
javahtmljava
html
borderStylesolid
titleHelloWorld.jsp
<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:

...