>> <jsp:useBean id="beanContainer" class="com.mycompany.MyBeanContainer"
>> scope="session"></jsp:useBean>
>
> You shouldn't need the above on the page. You should set
> MyBeanContainer  with the id "beanContainer" into session or request
> scope in the Action  you are in "BEFORE" you get to this JSP page. The
> page will have it. No  need to use the useBean stuff.
>


ok, now I understand what you mean. I should never access session beans in
my jsp, but being aware of the 1-1 relationship between the page form and
the one which I defined in the struts-config.xml
So I'm going to update the form beans (using objects like containers and
navigators in session) in the related actions before passing control to
JSPs and/or after submitting the form.
I think this is the correct procedure to use.

thanks for your help

-- 
Paride Perazzolo
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to