}
if ( outputStream == null ) {
outputStream = new ByteArrayOutputStream( 0 );
}
SimpleOutputHandler outputHandler = null;
if ( outputStream != null ) {
// Modifications by Ezequiel Cuellar
// Old code.
// outputHandler = new SimpleOutputHandler(outputStream, false);
// New code. Without setting the allowFeedback parameter to true it is assumed that SubActionComponent
// instances
// are never capable of returning feedback which may not always be the case.
outputHandler = new SimpleOutputHandler( outputStream, true );
outputHandler.setOutputPreference( IOutputHandler.OUTPUT_TYPE_DEFAULT );
}
solutionEngine.execute( actionSequence, processName, false, true, null, persisted, parameterProviderMap,
outputHandler, null, urlFactory, messages );
} finally {