webMathematica`

MSPURLStore

MSPURLStore[data, type]

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

MSPURLStore[data, type, filename]

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

Details

  • 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.

Examples

Basic Examples  (1)

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

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.