RE: Injecting singleton beans into Servlets

2008-07-09 Thread Kleiderman, Matthew
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 really meant injecting a bean defined inside Spring's

Injecting singleton beans into Servlets

2008-07-08 Thread Kleiderman, Matthew
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

RE: Multi-row tabular forms

2008-06-26 Thread Kleiderman, Matthew
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 PROTECTED] wrote: I'm trying create a form that maps to a collection of data objects, so that a user can edit any property

Multi-row tabular forms

2008-06-25 Thread Kleiderman, Matthew
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