public void init ( Configuration configuration ) throws Exception { bundleName = configuration . getServletContext ( ) . getInitParameter ( Config . FMT_LOCALIZATION_CONTEXT ) ; if ( bundleName == null ) { throw new StripesRuntimeException ( "JSTL has no resource bundle configured. Please set the context " + "parameter " + Config . FMT_LOCALIZATION_CONTEXT + " to the name of the " + "ResourceBundle to use." ) ; } }
Invoked directly after instantiation to allow the configured component to perform one time initialization . Components are expected to fail loudly if they are not going to be in a valid state after initialization .