diff options
Diffstat (limited to 'swat/esptest/include.esp')
-rw-r--r-- | swat/esptest/include.esp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/swat/esptest/include.esp b/swat/esptest/include.esp new file mode 100644 index 0000000000..9b67a768da --- /dev/null +++ b/swat/esptest/include.esp @@ -0,0 +1,22 @@ +<HTML> +<TITLE> +Samba4 ESP test +</TITLE> +<BODY> +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 + +<form name="Cancel" method="POST" action="index.esp"> + <input name="submit" type="submit" value="Cancel"><br> +</form> + +</BODY> +</HTML> |