}
// If a flash scope exists, add the parameter to the request
FlashScope flash = FlashScope.getCurrent(request, false);
if (flash != null) {
addParameter(StripesConstants.URL_KEY_FLASH_SCOPE_ID, flash.key());
}
// Prepend the context path if requested
String url = getUrl(request.getLocale());
if (prependContext) {