Every time my application encounters the ActionErrors isEmpty() message,
a Servlet Exception occurs.  I simply replaced the old call from
"errors.empty()" to "errors.isEmpty()".  If anyone has ideas as to
what's going on, please help!

Here is my code:
--------------------------------------
           try
           {
                if (stmt != null)
                {
                  stmt.close();
                }
                if (conn != null)
                {
                  conn.close();
                }
           }
           catch(Exception e)
           {
             target = "error";
             ActionErrors errors = new ActionErrors();
             errors.add(ActionErrors.GLOBAL_ERROR, new
ActionError("errors.database.error", e.getMessage()));

             // Report any errors
              if(!errors.isEmpty())
              {
               saveErrors(req, errors);
              }
           }


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to