Dev:SampleServlet.html

Aus YaCyWiki
Wechseln zu: Navigation, Suche
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Testpage</title>
#%env/templates/metas.template%#
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
#%env/templates/header.template%#
<h2>Testpage</h2><br>

#(options)#
::
Display Square Numbers from 0 to: <form action=""><input type="test" name="num"><input type="submit" value="Display"></form>
#(/options)#

Square Numbers:
<table border="1"> <tr> <th>Number</th><th>Number^2</th><th>Number^3</th> </tr> #{numbers}# <tr> <td>#[num]#</td> <td>#[num2]#</td> <td>#[num3]#</td> </tr>/<nowiki> #{/numbers}# <nowiki></table> #%env/templates/footer.template%# </body> </html>