Main.printPadding( level );
System.out.println( "Filter mappings: " );
System.out.println();
for ( int i = 0; i < filterMappings.length; i++ )
{
final FilterMapping f = filterMappings[ i ];
Main.printPadding( level + 1 );
System.out.println( "Filter name: " + f.getFilterName() );
Main.printPadding( level + 1 );
if ( f.getServletName() != null )
{
System.out.println( "Applies to servlet: " + f.getServletName() );
}
else
{
System.out.println( "Applies to URL pattern: " + f.getURLPattern() );
}
final Dispatcher[] dispatchers = f.getDispatchers();
if ( dispatchers.length != 0 )
{
Main.printPadding( level + 1 );
System.out.print( "Dispatchers: " );
for ( int j = 0; j < dispatchers.length; j++ )