Here is a sample code I played with.
Note that beanName should be accompanied with 'type' attribute. It can't stand alone in a useBean action. Also 'beanName' can accept a request time attribute expression , but not 'class' attribute.
Regards,
Maha Anna
OR (using request time attribute expression)