Skip to main content
The JMRI Frame Servlet provides web access to JMRI windows. Its base url is "/frame/", which by itself will return a page listing available frames.
It uses the facilities of the
jmri.util.JmriJFrame class to locate windows
and create an image of their current appearance. The window does not have to be maximized,
but it does have to be open; it's OK for the window to have been minimized.
The Web Server Preferences can be used to adjust the default delay after a click and adjust the periodic refresh between clicks. You can also enter a list of frames which are not to be allowed, and enable ajax refresh (recommended) or use the older meta-refresh.
You can override the defaults for individual pages by adding the following yes/no parameters to your URL:
Note the frame title in the URL, followed by ".html". Replace any spaces in the title with "%20".For current, dynamically-generated list of available windows, use this URL:
Note: Adjust defaults such as refresh timing, disallowed frames and ajax usage in Web Server Preferences.You can override the defaults for individual pages by using the following parameters in your URL:
properties file can be used to configure the HTML that's returned when a frame is