,ch14.9433  Page 477  Monday, February 14, 2005  12:55 PM
Example 14 28. Welcome page from the Struts example application (continued)
  •   useLocalEncoding="true">Russian

    Example 14 29 shows this same page implemented as a Velocity template (wel 
    come.vm).
    Example 14 29. Welcome page implemented as a Velocity template
    #*
     * These are comments and will be ignored by the Velocity engine.
     *#
    $text.get("index.title")

    $text.get("index.heading")

  •     
            $text.get("index.registration")
        
  •     
            $text.get("index.logon")
        

    Language Options

  • English
  • Japanese
  • Russian

  • $text.get("index.tour")

    Integrating Struts and Velocity | 477
    This is the Title of the Book, eMatter Edition
    Copyright   2005 O'Reilly & Associates, Inc. All rights reserved.
    
    
    
    
    
    
    footer
    
    
    
    
    

     

     

     

     

     Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

    strutsweb hosting

     

    Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved