MSPURLStore


store a string of data of the specified type and return a URL reference


store a string of data of the specified type and return a URL reference that contains a suggested filename

DetailsDetails

  • MSPURLStore stores a string of formatted data in the MSP servlet and returns a URL that can be used to retrieve the data.
  • MSPURLStore is an extension of the mechanism for storing images.
  • MSPURLStore can be used to hold input for some plug-in or applet in the client or it could be formatted into an img tag.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

You can simulate how the function works by installing and loading the package.

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

The result is a string that can be used as a URL referring to the MSP servlet, which can be used to retrieve the data from the store.

A third argument to MSPURLStore sets a filename in the URL. There are several uses for this functionality, such as choosing a helper application for the client. Note that no actual file with this name is created. The name is just placed in the URL.

In[4]:=
Click for copyable input
Out[4]=