}
private ValueStack createValueStack( Container container )
throws ClassNotFoundException
{
OgnlValueStackFactory stackFactory = new OgnlValueStackFactory();
stackFactory.setXWorkConverter( container.getInstance( XWorkConverter.class ) );
stackFactory.setContainer( container );
stackFactory.setTextProvider( container.getInstance( TextProvider.class ) );
ValueStack stack = stackFactory.createValueStack();
return stack;
}