Re: Accessing action object inside the form bean

2002-03-28 Thread Nicolas De Loof
Be carreful, your action class must be threadsafe, so you cannot store datas as intance variable. Use session scope instead. Hi, I open a form, collect user input and on submit store it in the action class (inside perform()) as instance variables. Next time when the same form is opened, I

Accessing action object inside the form bean

2002-03-27 Thread Bhaskar Gopalan
Hi, I open a form, collect user input and on submit store it in the action class (inside perform()) as instance variables. Next time when the same form is opened, I want to retrieve the values stored in the action class. Since a new instance of the form bean is created every time a form is

RE: Accessing action object inside the form bean

2002-03-27 Thread srinivas
bean. in this case new instance will not be created. hope this helps. regards, srinivas -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 1:07 AM To: Struts Group (E-mail) Subject: Accessing action object inside the form bean Hi, I open

RE: Accessing action object inside the form bean

2002-03-27 Thread Javier Campoamor
: srinivas [mailto:[EMAIL PROTECTED]] Enviado el: jueves 28 de marzo de 2002 0:23 Para: Struts Users Mailing List Asunto: RE: Accessing action object inside the form bean hello, set the scope in the struts-config.xml for the action to have session. action path=name of action