|
IncludesStatic IncludesFiles can be included prior to execution with the @include command
<?@include "displayName.sjs"?> Dynamic IncludesInclude files can be passed parameters as well, which can be retrieved via getParameter calls in the include file.
These dynamic parameters will override parameters in the URL.
<?@include "displayName.sjs?name=Jim"?>Will result in Your name is Jim.Variables may be passed to the @include command: <? var name = "Erin"; ?> <?@include "displayName.sjs?name=<?=name?>"?>Results in Your name is Erin. |