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 Struts 2 - Redirect when using tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 - Redirect when using tiles" Watch "Struts 2 - Redirect when using tiles" New topic

Struts 2 - Redirect when using tiles

John Cena

Joined: May 05, 2010
Posts: 6

I am working on struts2 and I know how to normally refirect the page in case of some specific action......

<action name="Login" class="com.action.Login">
<result name = "success" type="redirect">/Home.tiles</result>

But now the problem is,
I am using tiles and I will have to define type = "tiles" attribute and now xml will now allow me to define the value of type attribute twice

Please help me how to solve the problem..

Thanks in advance,
Hirav Oza
David Newton

Joined: Sep 29, 2008
Posts: 12617

Redirect to a home page action that uses the tiles result. If there's no functionality it can just be an action mapping with no class specified.
Have you checked out Aspose?
subject: Struts 2 - Redirect when using tiles
It's not a secret anymore!