Is there a way to get the context attribute without asking the servlet?
Thanks,
Steve
Jagdish Arora wrote:
Steven,
Is your form defined to be in session scope, or is it in request scope? The
reason I ask is that the servlet is declared to be transient in the
ActionForm. Depending on where you are in the lifecycle, it may have
"evaporated".
amrinder
----- Original Message -----
From: "Steven Citron-Pousty" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Cc: "Jagdish Arora" <[EMAIL PROTECTED]>
Sent: Thursday, November 21, 2002 11:04 AM
Subject: Re: How to access the Struts ConnectionPool from an ActionForm
The servlet is null. So then how and what do I tell the actionform is
its servlet.
Thanks,
Steve
PS I still am interested in ppls view on whether all DB calls are model
or there is a case when you could consider the DB call view
Jagdish Arora wrote:
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>