Results 1 to 1 of 1
- 07-22-2013, 09:40 PM #1
Banned
- Join Date
- Jul 2013
- Posts
- 9
- Rep Power
- 0
Maven, Struts2 Annotations and Tiles Integration Example via Convention / Codebhind
Maven, Struts2 Annotations and Tiles Integration Example via Convention / Codebhind / Zero Config plugin using Eclipse IDE
In this example, I will demonstrate how you can use Struts2 Annotations and Conventions alone to avoid XML Configuration. I will also integrate Struts2 Tiles Plugin, because I?ve seen a number of people struggling when it comes to Tiles integration with Struts2 Annotation and Convention based projects. Do note that Struts2 Convention Plugin has replaced the older Codebehind plugin and Zero Config Plugin.
~ Struts2 Conventions Plugin Features
~ Create new Maven Project using Eclipse IDE
~ Add Struts2 Core, Convention Plugin and Tiles Plugin Dependencies
~ Create Struts2 Actions
~ Annotate Struts2 Action with Tiles Result Type
~ Configure web.xml with Struts2 Standard Filter Mapping, Tiles Configuration and Tiles Listener
~ Create Tiles Definitions File
~ Create Java Server Pages (JSP)
Click here to Read More
Subscribe to Code Of The Day via: RSS Feed | Google Friend Connect
Similar Threads
-
Maven 2 to Maven 3 up-gradation: Issue on version attribute
By arfeen.java in forum Apache MavenReplies: 0Last Post: 12-17-2012, 02:32 PM -
configure tiles with maven
By bender86 in forum StrutsReplies: 9Last Post: 05-11-2012, 10:42 AM -
Struts2 java.lang.reflect.InvocationTargetException (Struts2 with Hibernate)
By sivakumar_sakam in forum Web FrameworksReplies: 0Last Post: 10-30-2011, 04:38 PM -
Menu item activation in struts2+tiles project
By aruna.hcu in forum Web FrameworksReplies: 0Last Post: 01-26-2010, 11:43 PM
Bookmarks