Originally posted by DJ Corpuz:
I'm currently using spring in one of my projects that I'm doing. Now Struts 2 has come into the picture as our Software architect said that its one of things that we could use in our project. I was hoping if someone could help me better understand how to tie up Spring and Struts 2 together. BTW were also using Hibernate that's tied up with Spring. So any help would really be appreciated
Thanks!
i've used spring for service-layer, hibernate for the data-layer and struts 2 for handling the front end. there should be some example of spring with struts 2 in the examples. keep your hibernate configuration working with spring and you're on your way. struts 2 does use injection like spring
have a look here as a guide:
http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html john fuhr