Files can be included prior to execution with the @include command
e.g.
<?@include "displayName.sjs"?>
Include 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.
e.g.
<?@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.