O'Reilly logo

Grails 2: A Quick-Start Guide by Ben Klein, Dave Klein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Home Page Makeover

The application home page can be found in the root view directory: TekDays/grails-app/views/index.gsp.

Let’s open this file now to see what we have to work with:

security.2/TekDays/grails-app/views/index.gsp
 
<!DOCTYPE html>
 
<html>
 
<head>
 
<meta​ name=​"layout"​ content=​"main"​​/>
 
<title>​Welcome to Grails​</title>
 
<!-- embedded CSS omitted for the sake of space -->
 
</head>
 
<body>
 
<a​ href=​"#page-body"​ class=​"skip"​​>​​<g:message
 
code=​"default.link.skip.label"​ default=​"Skip to content​&hellip;​"​​/>​​</a>
 
<div​ id=​"status"​ role=​"complementary"​​>
 
<h1>​Application Status​</h1>
 
<ul>
 
<li>​App version: ​<g:meta​ name=​"app.version"​​/>​​</li>
 
<li>​Grails version: ​ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required