Thanks Dave.You got it right. So you are saying that if I want to forward the output of an action to another action , I should use redirect action?? I will search for the filter option.
Regards, Srineel On Mon, Nov 19, 2012 at 1:13 AM, Dave Newton <davelnew...@gmail.com> wrote: > > This entry is working: > > > > <action name="signon" class="signonAction"> > > <result>/WEB-INF/jsp/index.jsp</result> > > </action> > > > > This entry is not: > > > > <action name="signon" class="signonAction"> > > <result>/shop/index.action</result> > > </action> > > It's not entirely clear what the question is, but in case the > statement is actually "why", I'll answer. > > The first result forwards to a JSP. The second attempts to forward to an > action. > > You can set it so forwards are processed by the filter (I forget the > exact configuration, something in web.xml, it's searchable), or you > can redirect to the action by name, e.g.: > > <result type="redirectAction">index</result> > > Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >