• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts 2 - Redirect when using tiles

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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>
</action>

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
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic