This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Tiles + action mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles + action mapping" Watch "Tiles + action mapping" New topic
Author

Tiles + action mapping

vijaya bacina
Ranch Hand

Joined: Aug 23, 2005
Posts: 155
I have done the same thing given in the below link.
http://www.theserverside.com/articles/article.tss?l=Tiles101
i created a tiles definition like
<definition name="@dviewPDS" extends="basic.layout">
<put name.../>
<put name=.../>
</definition>
and then action mapping of struts-config.xml goes like this
<action path="/ViewPDS" type="com.xx.actions.ViewPDs">
<forward name="success" path="@dviewPDS"/>
</action>
when i run the application it getting error like "Error 404 File not found:/@dviewPDS"
Plz help
vijaya bacina
Ranch Hand

Joined: Aug 23, 2005
Posts: 155
I dont know why but i got the result when i add something like this in struts-config.xml
<plugin ****>
<set-property property="moduleAware" value="true"/>
</plugin>
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Tiles + action mapping
 
It's not a secret anymore!