Groovy Server Pages (GSP) and Tag Libraries

Topics 

  • GSP Basics 
  • GSP Tags 
  • Templates 
  • Layouts using SiteMesh 
  • Custom Tag Libraries 
  • Ajax Calls

GSP Basics

What is GSP? 

  • Groovy Servers Pages (or GSP for short) is Grails' view technology 
  • It is designed to be familiar for users of technologies such as JSP and ASP, but to be far more flexible and intuitive 
  • GSPs live in the grails-app/views directory and are typically rendered automatically (by convention) or with the render method such as: render(view: "myview") 
  • A GSP is typically a mix of mark-up and GSP tags

You must have an active subscription to download PDF and Lab Zip of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.