Mathematica 9 is now available
8.5 MSP Scripts and Static Files

Documentation8. Classic webMathematica Technology

 

8.5 MSP Scripts and Static Files

MSPs process static files in a special way because the relative URL actually refers to the MSP servlet, which reads and returns the appropriate content. The file extensions that the MSP servlet recognizes as valid static content are set by the configuration parameter StaticFileExtensions. The default value is as follows.

StaticFileExtensions=gif:image/gif, jpg:image/jpeg, jpeg:image/jpeg

If you do not wish to serve any static files from your site, you can omit this definition. Alternatively, you could add extensions for other formats, such as sound or scripting archives.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT. CURRENT WEBMATHEMATICA DOCUMENTATION IS NOW AVAILABLE.