SCREENTHROW and NOSCREENTHROW (JANUS DEFINE parameters): Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
m (minor tagging)
 
Line 2: Line 2:
<span class="pageSubtitle">Throw or don't throw [[WebScreenException class|WebScreenException]] exceptions on client errors.</span>
<span class="pageSubtitle">Throw or don't throw [[WebScreenException class|WebScreenException]] exceptions on client errors.</span>


<var>SCREENTHROW</var> and <var>NOSCREENTHROW</var> are parameters on [[JANUS DEFINE]], which indicate whether or not [[WebScreenException class|WebScreenException]] exceptions are to be thrown on client errors.  
<var>SCREENTHROW</var> and <var>NOSCREENTHROW</var> are parameters on <var>[[JANUS DEFINE]]</var>, which indicate whether or not [[WebScreenException class|WebScreenException]] exceptions are to be thrown on client errors.  


Indicates whether or not [[WebScreenException class|WebScreenException]] exceptions are to be thrown on client errors. <var>NOSCREENTHROW</var>, the default, indicates that WebScreenException exceptions will not be thrown on client errors. When NOSCREENTHROW is used, client errors will typically result in a redisplay of the page in standard [[Janus Web Legacy Support|Janus Web legacy]] mode ([[XMLSCREEN and NOXMLSCREEN (JANUS DEFINE parameters)|NOXMLSCREEN]]) and a user restart in [[Janus Web Legacy XML Support|Janus Web Legacy XML]] mode ([[XMLSCREEN and NOXMLSCREEN (JANUS DEFINE parameters)|XMLSCREEN]])   
Indicates whether or not <var>[[WebScreenException class|WebScreenException]]</var> exceptions are to be thrown on client errors. <var>NOSCREENTHROW</var>, the default, indicates that <var>WebScreenException</var> exceptions will not be thrown on client errors. When <var>NOSCREENTHROW</var> is used, client errors will typically result in a redisplay of the page in standard [[Janus Web Legacy Support|Janus Web legacy]] mode (<var>[[XMLSCREEN and NOXMLSCREEN (JANUS DEFINE parameters)|NOXMLSCREEN]]</var>) and a user restart in [[Janus Web Legacy XML Support|Janus Web Legacy XML]] mode (<var>[[XMLSCREEN and NOXMLSCREEN (JANUS DEFINE parameters)|XMLSCREEN]]</var>)   


The <var>SCREENTHROW</var> and <var>NOSCREENTHROW</var> parameters are available in Model 204 7.6 and later.  
The <var>SCREENTHROW</var> and <var>NOSCREENTHROW</var> parameters are available in Model 204 7.6 and later.  


You can override the <var>SCREENTHROW</var> and <var>NOSCREENTHROW</var> parameters on the <var>JANUS DEFINE</var> command on a URL basis using the like-named parameters in [[JANUS WEB SCREEN]] rules.
You can override the <var>SCREENTHROW</var> and <var>NOSCREENTHROW</var> parameters on the <var>JANUS DEFINE</var> command on a URL basis using the like-named parameters in <var>[[JANUS WEB SCREEN]]</var> rules.


After a WebScreenException is thrown, the Janus Web inputs are still available to the application so SCREENTHROW can be used to allow a Janus Web Legacy application to switch modes, by catching a response from a client that is not a response to the 3270 screen read page.
After a <var>WebScreenException</var> is thrown, the Janus Web inputs are still available to the application, so you can use <var>SCREENTHROW</var> to allow a Janus Web Legacy application to switch modes, by catching a response from a client that is not a response to the 3270 screen read page.


Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.
Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.

Latest revision as of 20:50, 12 February 2015

Throw or don't throw WebScreenException exceptions on client errors.

SCREENTHROW and NOSCREENTHROW are parameters on JANUS DEFINE, which indicate whether or not WebScreenException exceptions are to be thrown on client errors.

Indicates whether or not WebScreenException exceptions are to be thrown on client errors. NOSCREENTHROW, the default, indicates that WebScreenException exceptions will not be thrown on client errors. When NOSCREENTHROW is used, client errors will typically result in a redisplay of the page in standard Janus Web legacy mode (NOXMLSCREEN) and a user restart in Janus Web Legacy XML mode (XMLSCREEN)

The SCREENTHROW and NOSCREENTHROW parameters are available in Model 204 7.6 and later.

You can override the SCREENTHROW and NOSCREENTHROW parameters on the JANUS DEFINE command on a URL basis using the like-named parameters in JANUS WEB SCREEN rules.

After a WebScreenException is thrown, the Janus Web inputs are still available to the application, so you can use SCREENTHROW to allow a Janus Web Legacy application to switch modes, by catching a response from a client that is not a response to the 3270 screen read page.

Valid only for WEBSERV ports.

See also