: Fri 11/13/2009 3:42 AM
To: user@struts.apache.org
Subject: Re: Struts2 + Spring/Hibernate
Seems fine with me.
CRANFORD, CHRIS wrote:
>
>
>class="com.company.app.struts2.actions.PersonAction">
>
>
>
I don't see any advantage on creating Actions
Hi,
I've just created similar skeleton couple of days ago.
To let Spring generate your Service and DAO beans, you have to specify also
the GenericService and GenericDAO in your applicationContext xml. You (can)
set them as abstract and you have to specify the inheritance relationship
between the
Seems fine with me.
CRANFORD, CHRIS wrote:
>
>
>class="com.company.app.struts2.actions.PersonAction">
>
>
>
I don't see any advantage on creating Actions with Spring. It works fine
without it and it seems unnecessary configuration. Perhaps someone else can
point out clear advant
1) is correct. I can't tell you the number of times that, on app startup,
I've gotten reams and reams of error messages because Spring couldn't
instantiate some bean or another.2) is both -- which you could determine for
yourself pretty easily by putting a logging statement in the action's
constru
ren sky wrote:
1) before running my project, spring has already instantiate all the
object defined in the applicationContext.xml?
such as LoginAction,PersonServiceImpl and sessionFactory?
Singletons probably are, sure.
2) the action used in struts2 is instantiated before a request comes
i
--- On Mon, 11/24/08, scho <[EMAIL PROTECTED]> wrote:
> Normally, accessing my database isn't a problem. Hibernate saves my
> objects and executes my queries against the database as well. But
> here's my problem: I have to import a huge amount of data into my
> database via a CSV-File. There are
Hi,
By implementing Preparable,ModelDriven,ServletRequestAware interfaces,am
able to get the form details and sent those details to service
implementation layer from an action class.From service implementation i have
called dao.Since DAO is not injected any where in struts.xml,its throwing
nullpo
Hi,
In the link provided below,it uses struts1+hibernate+spring.I have done tht
and trying to do the same application in struts2.So now i have a jsp page to
enter user details and to register and after clicking on submit button
entered values should be saved into database for which I have used ma
Hi,
Download Spring 2 libraries and put in your WEB-INF/lib folder
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Here is and application with example code
http://www.roseindia.net/struts/hibernate-spring/index.shtml
Thanks
-Original Message-
From: RajiR [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 4:04 PM
To: user@struts.apache.org
Subject: struts2+Spring+Hibernate Integration
10 matches
Mail list logo