Injecting singleton beans into Servlets
2008/7/8 Kleiderman, Matthew <[EMAIL PROTECTED]>:
> Is there any way to inject beans defined in struts.xml with
> scope=singleton into a Servlet so that it's available when the
> Servlet's init method is called?
Did you rea
Is there any way to inject beans defined in struts.xml with
scope=singleton into a Servlet so that it's available when the Servlet's
init method is called? Alternately, is there a way to access where
these instances are stored so I can get a reference to the instance?
Thanks,
Matt Kleiderman
--
, Kleiderman, Matthew <[EMAIL PROTECTED]>
wrote:
> From: Kleiderman, Matthew <[EMAIL PROTECTED]>
> Subject: RE: Multi-row tabular forms
> To: "Struts Users Mailing List"
> Date: Thursday, June 26, 2008, 7:53 AM And I think the problem I'm
> having is fi
ating data into form. The
collection needs to have required number of objects.
If you know that only 2 rows will be present then you can populate
collection with 2 empty object, else you might get NullPointer.
Regards,
Nikhil
On Thu, Jun 26, 2008 at 4:16 AM, Kleiderman, Matthew <
[EMAIL PROT
I'm trying create a form that maps to a collection of data objects, so
that a user can edit any property of any object, and submit the changes.
I'm using an s:iterator tag to draw each item in the collection as a row
in a table, and the xhtml template. The table is getting drawn
properly, with dat
5 matches
Mail list logo