Thanx Joe, Andrew... you seem to have grasped the essence of my worries.
Andrew: on your comment about Pajes (jejeje), yes. It's a nice simple framework I've
been working with for about 2 years now. I confess I have
not been interested to become a Guru at it or something like that, but
that's
Villalba Arias, Fredy [BILBOMATICA] fvillalba at mailext.com writes:
(3) It is not possible to have more than one ActionForm associated to an
Action (at the same time), i.e. it's a 1:1 relationship (again, am I right?)
That's not true! I am using an Action with 2 ActionForms:
ServiceForm
?
Regards,
Freddy.
-Mensaje original-
De: news [mailto:[EMAIL PROTECTED] En nombre de Thorsten Scherler
Enviado el: miércoles, 04 de febrero de 2004 17:20
Para: [EMAIL PROTECTED]
Asunto: Re: Accessing ActionForm from Servlet (was: Pajes + Struts)
Villalba Arias, Fredy [BILBOMATICA] fvillalba
Hi Fred(d)y,
(3) Despite 1 and 2, there must be a method to obtain the ActionForm(s)
associated to an Action (during an specific request / post). Right?
I think this question has been answered twice in this very thread, once by
me, and again (and with code) by Andrew Hill.
From Andrew's
. Februar 2004 18:13
To: Struts Users Mailing List
Subject: RE: Accessing ActionForm from Servlet (was: Pajes + Struts)
Hi Fred(d)y,
(3) Despite 1 and 2, there must be a method to obtain the ActionForm(s)
associated to an Action (during an specific request / post). Right?
I think this question
I definitely haven't used Pajes, but if the servlet is on the same web app,
perhaps your servlet can access the form in the request attribute.
More comments below
--- Villalba Arias, Fredy [BILBOMATICA] [EMAIL PROTECTED] wrote:
HOWEVER, I have not solved yet the data access method part. I MUST
Hi Hubert, thanx for answering!
Read below.
Not sure this would be possible. The actual ActionForm in use depends on the
session, and sometimes even the particular request. I doubt there's a way to
get to the form object actually in use by just specifying the action class.
If it's the *class*
(2) Whatís the minimal information that one needs to retrieve an Actionís
corresponding ActionForm object?
ModuleConfig modConf = ModuleUtils.getInstance().getModuleConfig(request);
FormBeanConfig fbc = modConf.findFormBeanConfig(mapping.getName());
(since 2004/01/24):
ActionForm form =
8 matches
Mail list logo