Class MailerServlet

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String mailProgram  
      protected java.lang.String redirectSuccess  
      protected static java.lang.String[] REQUIRED_FIELDS
      Constant REQUIRED_FIELDS="new String[] { sendto, subject, usernam"{trunked}
    • Constructor Summary

      Constructors 
      Constructor Description
      MailerServlet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doPost​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      void init()
      init
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • REQUIRED_FIELDS

        protected static final java.lang.String[] REQUIRED_FIELDS
        Constant REQUIRED_FIELDS="new String[] { sendto, subject, usernam"{trunked}
      • redirectSuccess

        protected java.lang.String redirectSuccess
      • mailProgram

        protected java.lang.String mailProgram
    • Constructor Detail

      • MailerServlet

        public MailerServlet()
    • Method Detail

      • init

        public void init()
                  throws javax.servlet.ServletException

        init

        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException - if any.
      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws javax.servlet.ServletException,
                           java.io.IOException
        Overrides:
        doPost in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        java.io.IOException