|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--HttpServlet | +--simkin.examples.servlet.SimkinServlet
This example shows how Simkin can be used within a Java servlet The servlet executes Simkin script contained within a POST request, and returns the output of the script to the calling browser
Constructor Summary | |
SimkinServlet()
|
Method Summary | |
void |
doPost(HttpServletRequest req,
HttpServletResponse res)
Handle a post request - loads the Simkin script from the "code" variable, executes it, and returns the output |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimkinServlet()
Method Detail |
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, java.io.IOException
ServletException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |