The <startup-script> element is used to specify one or more
scripts that will execute during the IMF startup process after all
normal startup routines, but before the map frames are displayed.
If more than one startup script is defined, the scripts will be
executed in the order that they appear in the site configuration file.
Note that if your startup scripts are dynamic and require parameters,
imf.jsp can now be called with arbitrary parameters that can be referenced
as AimsWebSiteConfig properties, or properties can be set in the site
configuration XML file along with the startup scripts.
| Frequency |
Parent Elements (this element is valid within): |
|
POS+ |
<site-config> |
| |
|
|
| Frequency |
Description (in this context) |
|
POS+ |
This element may appear multiple times within the <site-config> element in the specified sequence. |
| |
|
|
|
Attributes |
Description |
|
file |
The script name to execute. Must be in the IMF installation directory or a
subdirectory of the IMF installation directory. Required.
|
| |
|
|
Example:
<startup-script file="startup1.jsp"/>
<startup-script file="ext/moxi/startup2.jsp"/>
<startup-script file="sites/mysite/mystartupscript.jsp"/>