Groovy Server Pages

Groovy Server Pages (GSP) is a presentation language for web applications, similar to JSP. GSP allows static and dynamic content to be mixed in the same document. The result is a dynamically generated HTML, XML or other type of document in response to a Web client request.

Example

An example of GSP code:

 <html>
   <head></head>
   <body>
     <g:set var="string" value="Hello, world!" />
     <h1>${string}</h1>
   </body>
 </html>

See also