com.jxml.qare.qhome.server
Class QHome
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--com.jxml.qare.qhome.server.QHome
- All Implemented Interfaces:
- QAppPlugin, Serializable, Servlet, ServletConfig
- Direct Known Subclasses:
- P2PPlugin, QServlet, QServlet, QServlet, QServlet, QServlet, QServlet, QServlet, QServlet, QServlet, QServlet, QServlet, QServlet, QServlet, QServlet, QServlet, QServlet
- public abstract class QHome
- extends HttpServlet
- implements QAppPlugin
- See Also:
- Serialized Form
Constructor Summary |
QHome()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mailSender
public static MailSender mailSender
QHome
public QHome()
getPlugin
public static QAppPlugin getPlugin(Map properties)
getClassLoader
public ClassLoader getClassLoader()
- Specified by:
getClassLoader
in interface QAppPlugin
init
public void init(ServletConfig config)
throws ServletException
- Overrides:
init
in class GenericServlet
destroy
public void destroy()
- Overrides:
destroy
in class GenericServlet
getApplication
public Application getApplication()
throws Exception
- Specified by:
getApplication
in interface QAppPlugin
getApplication
public static Application getApplication(String warFileName)
throws Exception
packageName
public String packageName()
- Specified by:
packageName
in interface QAppPlugin
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- Overrides:
doPost
in class HttpServlet
error
public void error(HttpServletRequest req,
HttpServletResponse res,
String error)
throws ServletException,
IOException
doOtherPost
public void doOtherPost(HttpServletRequest req,
HttpServletResponse res)
throws Exception
accountSetup
public static void accountSetup(DBUser.Row user)
throws Exception
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- Overrides:
doGet
in class HttpServlet
validLogin
public boolean validLogin(String userName,
String password)
throws Exception
process
public void process(HttpServletRequest req,
HttpServletResponse res,
DBUser.Row user,
Hashtable queryTable)
throws Exception
- Process browser request (login completed)