jmathlib.ui.servlet
Class JMathLibServlet

java.lang.Object
  extended by HttpServlet
      extended by jmathlib.ui.servlet.JMathLibServlet
All Implemented Interfaces:
JMathLibOutput

public class JMathLibServlet
extends HttpServlet
implements JMathLibOutput

a basic servlet showing the usage of JMathLib


Constructor Summary
JMathLibServlet()
           
 
Method Summary
 void displayText(java.lang.String text)
          catch text from jmathlib for later display
 void doGet(HttpServletRequest request, HttpServletResponse response)
           
 void setStatusText(java.lang.String status)
          this method ist used to display status messages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMathLibServlet

public JMathLibServlet()
Method Detail

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws java.io.IOException,
                  ServletException
Throws:
java.io.IOException
ServletException

displayText

public void displayText(java.lang.String text)
catch text from jmathlib for later display

Specified by:
displayText in interface JMathLibOutput
Parameters:
text -

setStatusText

public void setStatusText(java.lang.String status)
this method ist used to display status messages

Specified by:
setStatusText in interface JMathLibOutput
Parameters:
status - message