public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
  WebDoc doc=null;
  WebSessionCtx wsc=WebSessionCtx.get(request);
  WWindowStatus ws=WWindowStatus.get(request);
  String m_UpdateResult="";
  if (wsc == null) {
    WebUtil.createTimeoutPage(request,response,this,null);
    return;
  }
  log.info("This is #1");
  m_Client=WebUtil.getParameterAsBoolean(request,"Client");
  m_User=WebUtil.getParameterAsBoolean(request,"User");
  m_Window=WebUtil.getParameterAsBoolean(request,"Window");
  m_Org=WebUtil.getParameterAsBoolean(request,"Org");
  log.info("This is #2");
  String m_Action=WebUtil.getParameter(request,"PostAction");
  setExplanation();
  log.info("This is the m_Action" + m_Action);
  if (m_Action.equals("Delete"))   m_UpdateResult=delete(m_Client,m_User,m_Window,m_Org);
 else   if (m_Action.equals("Add"))   m_UpdateResult=insert(m_Client,m_User,m_Window,m_Org);
  log.info("This is the call");
  doc=createParameterPage(ws,wsc,request,m_UpdateResult);
  WebUtil.createResponse(request,response,this,null,doc,false);
  return;
}

public void doPost ( HttpServletRequest request , HttpServletResponse response ) throws ServletException , IOException { WebDoc doc = null ; WebSessionCtx wsc = WebSessionCtx . get ( request ) ; WWindowStatus ws = WWindowStatus . get ( request ) ; String m_UpdateResult = "" ; if ( wsc == null ) { WebUtil . createTimeoutPage ( request , response , this , null ) ; return ; } log . info ( "This is #1" ) ; m_Client = WebUtil . getParameterAsBoolean ( request , "Client" ) ; m_User = WebUtil . getParameterAsBoolean ( request , "User" ) ; m_Window = WebUtil . getParameterAsBoolean ( request , "Window" ) ; m_Org = WebUtil . getParameterAsBoolean ( request , "Org" ) ; log . info ( "This is #2" ) ; String m_Action = WebUtil . getParameter ( request , "PostAction" ) ; setExplanation ( ) ; log . info ( "This is the m_Action" + m_Action ) ; if ( m_Action . equals ( "Delete" ) ) m_UpdateResult = delete ( m_Client , m_User , m_Window , m_Org ) ; else if ( m_Action . equals ( "Add" ) ) m_UpdateResult = insert ( m_Client , m_User , m_Window , m_Org ) ; log . info ( "This is the call" ) ; doc = createParameterPage ( ws , wsc , request , m_UpdateResult ) ; WebUtil . createResponse ( request , response , this , null , doc , false ) ; return ; }
process the http post request . get parameters and process
