• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Struts2 with RAD7

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have to start my application from scratch. So we planned to go with RAD7,Struts2 and tiles. At present i am setting my workspace. So can you provide me some details to integrate tiles with struts2.

I have configured struts2 in RAD7 in the following way.
Added the required jars in lib folder.
Included the following in struts.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="" namespace="" extends="struts-default">
<action name="" class="">
<result></result>
</action>
</package>
</struts>

and web.xml looks like following

<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>
<display-name>My Application</display-name>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>

<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>

Can you let me know what else i have to do to configure struts and i want to know how to integrate tiles in struts2.

Please help me in this.bcz i have to start my application and i am struck with integrating tiles.

Thanks for help in advance
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Isn't RAD an IBM tool? Maybe this should be moved to websphere foruns. Anyway, as long as you're starting your application I will suggest you to take a look at Appfuse and all this integration pain will be finished, it has a relatively fast learning courve and is really helpfull in my oppinion. You may take a look at: www.appfuse.org

regards.
 
reply
    Bookmark Topic Watch Topic
  • New Topic