com.ideo.sweetdevria.servlet
Class SweetDevRiaServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.ideo.sweetdevria.servlet.SweetDevRiaServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class SweetDevRiaServlet
- extends javax.servlet.http.HttpServlet
SweetDevRIA main servlet wich handle action call and manage JavaScript to
Java communication.
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Redirect to doPost. |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
If a parameter "action" exists and represent an Action class, it will be
executed. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, 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 |
SweetDevRiaServlet
public SweetDevRiaServlet()
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- Redirect to doPost.
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Parameters:
req
- Request.res
- Response.
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- If a parameter "action" exists and represent an Action class, it will be
executed. If no parameter "action" is set, we suppose we should manage
communication between JavaScript and Java objet.
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Parameters:
req
- Request.res
- Response.
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2010 Ideo Technologies. All Rights Reserved.