private void saveNestedVariables(){
  if (nestedVars != null) {
    Iterator<String> iter=nestedVars.iterator();
    while (iter.hasNext()) {
      String varName=iter.next();
      varName=findAlias(varName);
      Object obj=invokingJspCtxt.getAttribute(varName);
      if (obj != null) {
        originalNestedVars.put(varName,obj);
      }
    }
  }
}

private void saveNestedVariables ( ) { if ( nestedVars != null ) { Iterator < String > iter = nestedVars . iterator ( ) ; while ( iter . hasNext ( ) ) { String varName = iter . next ( ) ; varName = findAlias ( varName ) ; Object obj = invokingJspCtxt . getAttribute ( varName ) ; if ( obj != null ) { originalNestedVars . put ( varName , obj ) ; } } } }
saves the values of any nested variables that are present in the invoking jsp context , so they can later be restored .
