11.07.2015 Views

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

40 webMathematica User GuideHello.jspIf you installed webMathematica as described above, you should be able to connect to this JSPvia http://localhost:8080/webMathematica/Examples/Hello.jsp. (You may have some other URLfor accessing your server.)This example evaluates the Date[] function of Mathematica. The result changes each time thepage is accessed, demonstrating that this really is a dynamic process. The source for this pageis in webMathematica/Examples/Hello.jsp. standard jsp headersstandard html tagsHello WorldHello WorldDate[]Date::usageIts current value is:Date[]evaluated by Mathematicaevaluated by MathematicaThis example shows a basic use of webMathematica.This page uses standard HTML tags as well as special webMathematica tags; these have theform . The webMathematica tags are executed from the top of the page to thebottom. The contents of the tags are sent to Mathematica for computationwith the result inserted into the final page.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!