jmathlib.ui.servlet
Class JMathLibServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by jmathlib.ui.servlet.JMathLibServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, JMathLibOutput

public class JMathLibServlet
extends javax.servlet.http.HttpServlet
implements JMathLibOutput

a basic servlet showing the usage of JMathLib

See Also:
Serialized Form

Field Summary
private  java.lang.String dispText
           
 
Constructor Summary
JMathLibServlet()
           
 
Method Summary
 void displayText(java.lang.String text)
          catch text from jmathlib for later display
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setStatusText(java.lang.String status)
          this method ist used to display status messages
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dispText

private java.lang.String dispText
Constructor Detail

JMathLibServlet

public JMathLibServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException,
                  javax.servlet.ServletException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
java.io.IOException
javax.servlet.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

FOOTER

BOTTOM