get


gets the value of a Mathematica expression and sets a page context attribute with it

DetailsDetails

  • The get tag is necessary to interact between Mathematica and page expressions. It gets a result from Mathematica and stores it in a page context attribute. Page context attributes can be used with other tag libraries and the expression language features of webMathematica pages. More information on this can be found in the section on Extended Page Language.
  • The get tag takes the following required attributes.
  • nameattribute that specifies the name of the page context attribute to hold the result
    valueattribute that specifies the Mathematica command to be evaluated

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In the following example, the variable dValue is set to the result of the Mathematica function Random[].

<msp:get name="dValue" value="Random[]" />