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 / virtualIntro.wtcl

Lines Size Modified Created Owner MIME Types
19 525 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 viewSourceUrl [::wt::examples::viewSourceUrl /examples/virtual.wtcl]
0007
0008
include ../lib/header.wtcl
0009
0010
?>
0011
0012
<p>The <code>virtual</code> command invokes an Apache sub-request. This can be used to easily pass the request to some other handler.</p>
0013
0014
<ul class="list">
0015
  <li><a href="virtual.wtcl">Run virtual.wtcl</a>.</li>
0016
  <li><a href="[htmlEncode $viewSourceUrl]">View source for virtual.wtcl</a>.</li>
0017
</ul>
0018
0019
<? include ../lib/footer.wtcl ?>