@ SuppressWarnings ( "unchecked" ) public void init ( ) throws ServletException { // Method re-written for PQ47469 String servlets = getRequiredInitParameter ( PARAM_SERVLET_PATHS ) ; StringTokenizer sTokenizer = new StringTokenizer ( servlets ) ; Vector servletChainPath = new Vector ( ) ; while ( sTokenizer . hasMoreTokens ( ) == true ) { String path = sTokenizer . nextToken ( ) . trim ( ) ; if ( path . length ( ) > 0 ) { servletChainPath . addElement ( path ) ; } } int chainLength = servletChainPath . size ( ) ; if ( chainLength > 0 ) { this . chainPath = new String [ chainLength ] ; for ( int index = 0 ; index < chainLength ; ++ index ) { this . chainPath [ index ] = ( String ) servletChainPath . elementAt ( index ) ; } } }
Initialize the servlet chainer .