java:代码
<managed-bean>
<managed-bean-name>booking</managed-bean-name>
<managed-bean-class>net.blogjava.fangshun.book.BookList</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
Application application=context.getApplication();
YourBean ManageBeanProperty=(YourBean )application.evaluateValueExpressionGet(context,"#{booking}",YourBean .class);
通过这个方法可以得到Managed-bean的引用