A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Struts 2 - Redirect when using tiles
Joined: May 05, 2010
May 17, 2010 04:34:55
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,
Joined: Sep 29, 2008
May 17, 2010 05:14:59
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.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Struts 2 - Redirect when using tiles
Struts2 Image Display Replaces Response
Struts 2.1 Need two different success results
Struts2- How to pass dynamic parameters from one Action class to another Action class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015