private void restoreNestedVariables(){
  if (nestedVars != null) {
    Iterator<String> iter=nestedVars.iterator();
    while (iter.hasNext()) {
      String varName=iter.next();
      varName=findAlias(varName);
      Object obj=originalNestedVars.get(varName);
      if (obj != null) {
        invokingJspCtxt.setAttribute(varName,obj);
      }
 else {
        invokingJspCtxt.removeAttribute(varName,PAGE_SCOPE);
      }
    }
  }
}

private void restoreNestedVariables ( ) { if ( nestedVars != null ) { Iterator < String > iter = nestedVars . iterator ( ) ; while ( iter . hasNext ( ) ) { String varName = iter . next ( ) ; varName = findAlias ( varName ) ; Object obj = originalNestedVars . get ( varName ) ; if ( obj != null ) { invokingJspCtxt . setAttribute ( varName , obj ) ; } else { invokingJspCtxt . removeAttribute ( varName , PAGE_SCOPE ) ; } } } }
restores the values of any nested variables in the invoking jsp context .
