View Source

[examples]
context.wtcl
cookies.wtcl
cookiesIntro.wtcl
errors.wtcl
errorsIntro.wtcl
expr.wtcl
fish.jpg
fish.wtcl
flush.wtcl
flushIntro.wtcl
form.wtcl
formIntro.wtcl
index.wtcl
ready.wtcl
scripting.wtcl
scripting.wtcl~
scriptingIntro.wtcl
session.wtcl
sessionIntro.wtcl
uploads/
uploads.wtcl
uploadsIntro.wtcl
virtual.wtcl
virtualIntro.wtcl
File: / examples / virtual.wtcl

Lines Size Modified Created Owner MIME Types
20 372 2010/05/18 23:04:06 2011/06/13 15:35:16 BUILTIN\Administrators application/x-wtcl, text/x-wtcl

0001
<?
0002
0003
include ../lib/examplePage.wtcl
0004
0005
::wt::examples::setTitle "Apache Sub-Request"
0006
set fishSource [::wt::examples::viewSourceUrl /examples/fish.wtcl]
0007
0008
include ../lib/header.wtcl
0009
0010
?>
0011
0012
<p>This image link points to fish.wtcl, which calls
0013
<code>virtual</code> to display
0014
<code>fish.jpg</code>.</p>
0015
0016
<p>Image:</p>
0017
0018
<p><img src="fish.wtcl"></p>
0019
0020
<? include ../lib/footer.wtcl ?>