Monday October 7, 2024

       
      SteelArrow Basics
      SteelArrow Tags
  SteelArrow Functions
  SteelArrow Objects
  Advanced Topics
  WAS Overview
   
   
       
      Overview
  Code Samples
  Site Search
   
   
   


Get SteelArrow!     
  <SAEXECJAVA>    
 
 
Secure Tag
Return to Tag List
 
The EXECJAVA tag is used to execute Java applications. Anything written to the console by the Java program is returned to the EXECJAVA tag.

Parameters can be passed to the Java application using the PARAM tag.

For security reasons, all Java applications must exist in a single directory per user. This user directory is configured by the system administrator. EXECJAVA does not support absolute file paths.

 
Attributes:
NAMEvariable to receive execution result
FILEJava application to execute (filename only; no .class extension)
TIMEOUTtimeout in milliseconds (default is 10000)

 
The following is an example of EXECJAVA;
 
<SAEXECJAVA NAME=java VALUE="TestApp">
   <SAPARAM VALUE="This is a test">
   <SAPARAM VALUE="This is also a test">
</SAEXECJava>

<!--- Output result --->
<PRE><SAOUTPUT VALUE=java>
 





Copyright © 1998-2004 Tomahawk Technologies Inc.
Privacy Policy