File: helloweb.k

package info (click to toggle)
kaya 0.4.2-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,448 kB
  • ctags: 1,694
  • sloc: cpp: 9,536; haskell: 7,461; sh: 3,013; yacc: 910; makefile: 816; perl: 90
file content (16 lines) | stat: -rw-r--r-- 229 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cgi helloweb;

import CGI;

Void PreContent() {
    content("<html><head><title>Hello!</title>
             </head><body>");
}

Void Default() {
    content("Hello web!");
}

Void PostContent() {
    content("</body></html>");
}