code:     protected String savedRequestURL(Session session) {
  
          SavedRequest saved =
              (SavedRequest) session.getNote(Constants.FORM_REQUEST_NOTE);
          if (saved == null) {
              return (null);
          }
          StringBuilder sb = new StringBuilder(saved.getRequestURI());
          if (saved.getQueryString() != null) {
              sb.append('?');
              sb.append(saved.getQueryString());
          }
          return (sb.toString());
  
      }
  
  
  