|
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: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.