|
Groovy example source code file (index.xhtml)
The Groovy index.xhtml source code
<?xml version="1.0"?>
<!-- DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" -->
<html xmlns:gsp="http://groovy.codehaus.org/2005/gsp">
<head>
<link rel="stylesheet" href="../codehaus-style.css" type="text/css" />
</head>
<body>
Name = ${request.getParameter("name")} <br/>
Name = <gsp:expression>params.get("name")
<hr color="#12334" noshade="noshade" />
BEGIN
<br/>
<gsp:scriptlet>
<![CDATA[
3.times {
]]>
</gsp:scriptlet>
* Hello World! *
<gsp:scriptlet>
<![CDATA[ } // 3.times ]]>
</gsp:scriptlet>
<br/>
END
</body>
</html>
Other Groovy examples (source code examples)Here is a short list of links related to this Groovy index.xhtml source code file: |
Other websites by Alvin Alexander:
Life/living in Alaska (OneMansAlaska.com)
How I Sold My Business (HowISoldMyBusiness.com)
Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.