I would like to integrate tiles 3 to my web application spring3+struts2+hibernate, but I don't have any idea of were to begin. All examples that I see use struts2 with tiles only, no integration of spring.
Asked
Active
Viewed 605 times
1 Answers
0
Here are few inputs how to integrate it.
For Integrating Struts2 with Spring use struts2-Spring plugin, all you need to have required spring jars and plugin, and your spring configuration file.Plugin document contains a basic start as how to configure it and how to use it, just follow those instructions and you are good to go (i am assuming you know how to use Spring )
Struts2 is independent of Hibernate and you are free to use it on your own way, though there are some plugins available , but i will suggest not to use them
For tiles there is again a plugin to take care of integration.
All these plugin will help you to integrate various technologies, but how to use them and how they work, you need to get know about them independently.

Umesh Awasthi
- 23,407
- 37
- 132
- 204
-
I already set up Spring and struts2 and hibernate, What i need is simply the configuration of tiles plugin – user1310305 Apr 16 '13 at 16:33
-
have a look at http://stackoverflow.com/questions/13337938/how-to-integrate-struts-2-with-tiles-3 – Umesh Awasthi Apr 16 '13 at 16:37
-
1What would Spring be doing with Tiles that would cause a Struts2+Tiles example to be invalid in your case? – Steven Benitez Apr 16 '13 at 18:08
-
I think I must add listener in web.xml ?? – user1310305 Apr 16 '13 at 18:25
-
@user1310305: you need to add that for sure, have you even looked at the plugin? its clearly mentioned what needs to be done – Umesh Awasthi Apr 17 '13 at 02:43
-
thx a lot for your help, as you said, it was easy with the struts2-plugin – user1310305 Apr 17 '13 at 08:27