Groovy Server Pages

From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search

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

An example of GSP code:

 <html>
   <head></head>
   <body>
     <%def string = 'hello world'%>
     <h1>${string}</h1>
   </body>
 </html>

See also

ru:Groovy Server Pages

Personal tools

Served in 0.192 secs.