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
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
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
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
4 matches
Mail list logo