code: public void setErrorPage(String path)
      {
          if (path==null || path.trim().length()==0)
          {
              _formErrorPath=null;
              _formErrorPage=null;
          }
          else
          {
              if (!path.startsWith("/"))
              {
                  log.warn("form-error-page must start with /");
                  path="/"+path;
              }
              _formErrorPage=path;
              _formErrorPath=path;
  
              if (_formErrorPath!=null && _formErrorPath.indexOf('?')>0)
                  _formErrorPath=_formErrorPath.substring(0,_formErrorPath.indexOf('?'));
          }
      }
docs: /* ------------------------------------------------------------