summaryrefslogtreecommitdiff
path: root/swat/esptest/include.esp
blob: 37772fd03fbf1b7285e74be490720098b1a53040 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<% page_header("columns", "ESP Include Test"); %>

including /scripting/test.ejs<p>
<% include("/scripting/test.ejs"); %>
calling a function from test.ejs ...<p>
<% showArray("request", request); %>

including /scripting/test.esp<p>
<% include /scripting/test.esp %>
calling a function from test.esp ...<p>
<% res = testfn('foo'); %>
result is: @@res

<% page_footer(); %>