TilesUtil.getDefinitionsFactory(pageContext.getRequest(),
pageContext.getServletContext());
if(factory != null )
return SKIP_BODY;
DefinitionsFactoryConfig factoryConfig = new DefinitionsFactoryConfig();
factoryConfig.setFactoryClassname( classname );
factoryConfig.setDefinitionConfigFiles( filename );
try
{
factory = TilesUtil.createDefinitionsFactory(
pageContext.getServletContext(), factoryConfig);