in tiles-request-jsp/src/main/java/org/apache/tiles/request/jsp/JspRequest.java [203:214]
public Map<String, Object> getContext(String scope) {
if("page".equals(scope)){
return getPageScope();
}else if(REQUEST_SCOPE.equals(scope)){
return getRequestScope();
}else if("session".equals(scope)){
return getSessionScope();
}else if(APPLICATION_SCOPE.equals(scope)){
return getApplicationScope();
}
throw new IllegalArgumentException(scope + " does not exist. Call getAvailableScopes() first to check.");
}