This is documentation for an earlier version of webMathematica.
View current User Guide (Version 3.3)

MSPPageDirectory


returns the full path of the directory in which the current script is being processed
  • MSPPageDirectory can be used to load data files that live in the same directory as the current script.
  • It should be noted that locating files in the script directory may mean that they are visible to an HTTP request.
You can simulate how the function works by loading the package.
You can simulate how the function works by loading the package.
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=