[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
Initialising beans from an HttpRequest
I'm currently developing a bean which needs to be initialised with a value
from the current HttpRequest. Specifically, it's a shopping basket type
bean which needs a cookie value so it can read in user-specific details of
the basket from a database.
Is there an easy way of passing this in the <BEAN> tag? At the moment, I'm
using the tag and calling an init(req) function to initialise it in the
JSP source, but I'd rather avoid this...
Thanks
Tom
---
tom@goodtech.co.uk
Good Technology ltd. http://www.goodtech.co.uk/