boolean canSearchConfigFile ( ServletContext servletContext ) { String searchConfigFile = servletContext . getInitParameter ( "searchConfigFile" ) ; if ( searchConfigFile == null || searchConfigFile . equals ( "" ) ) { return false ; } else if ( "true" . equals ( searchConfigFile ) ) { return true ; } return false ; }
Can search config file .