Leszek Gawron dijo:
> On Sun, Apr 18, 2004 at 10:41:10PM +0200, Ugo Cei wrote:
>> Il giorno 18/apr/04, alle 21:01, Christopher Oliver ha scritto:
>>
>> >The above approach has a serious drawback anyway - namely, that it
>> >won't work for sub-sitemaps. They share the same session and would
>> >overwrite each other's session attributes.
>>
>> Do you really need to use the session? Can't you store the "toSAX"
>> function as a request attribute or as a bizData object?
> The thing is you want to set it ONCE. Just as you have a User object
> filled up
> during login and then you would like to have it available for all views
> without explicit declaring (For example you insert Hello, user! on every
> page).
>
> request attribute or bizData is fine for one request only.

What about session attributes? They live in the user session. You can call
them as many times as you wish.

Best Regards,

Antonio Gallardo

Reply via email to