Re: Way to forward to another action in Struts 1

2008-05-01 Thread Mead Lai
just input the URL of Action in the path="someAction": On Fri, May 2, 2008 at 9:02 AM, bhaarat Sharma <[EMAIL PROTECTED]> wrote: > Hi > > I started struts with struts 2 but currently am in a project which is using > struts 1 > > we have tags like these > > type="org.cipe.c

Way to forward to another action in Struts 1

2008-05-01 Thread bhaarat Sharma
Hi I started struts with struts 2 but currently am in a project which is using struts 1 we have tags like these where the forward path is in a tiles definition. I am wondering if there is a way to forward the control to another struts1 action when forward name is success?

Re: [s2] forward to another action?

2007-10-30 Thread lbastil
-- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-s2--forward-to-another-action--tf4712685.html#a13488289 Sent from the Struts - User mailing list archive at

Re: [s2] forward to another action?

2007-10-30 Thread Dave Newton
--- lbastil <[EMAIL PROTECTED]> wrote: > can I use in struts.xml complex ognl statements? Well... yes, but there's no reason to in this usecase. > > > {1}__show.action > Expose a "target" property in your action and do the lookup there; the destination of your redirect-action would th

Re: [s2] forward to another action?

2007-10-30 Thread lbastil
Is the same possible with a "forward" instead of >> redirect? >> >> Thank you very much in advance, >> basti >> -- >> View this message in context: >> > http://www.nabble.com/-s2--forward-to-another-action--tf4712685.html#a13470792 >> Sent f

Re: [s2] forward to another action?

2007-10-29 Thread Dave Newton
t the possibility to redirect to another > action by result type > "redirect-action" > > But this does a redirect (HTTP 302). > > Is the same possible with a "forward" instead of > redirect? > > Thank you very much in advance, > basti > -- &

[s2] forward to another action?

2007-10-29 Thread lbastil
//www.nabble.com/-s2--forward-to-another-action--tf4712685.html#a13470792 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] forward to another action

2007-03-01 Thread Mike Baroukh
Thanks but It wouldn't work because I call some old code that use request.getParameter() and not ActionContext. finally, all I wan't is just a standard "forward"... Mike cilquirm a écrit : why can't you add parameters in chain? In your action, can't you : 1) implement ParameterAware 2)

Re: [S2] forward to another action

2007-03-01 Thread Mike Baroukh
>Why not just configure the target action in your action mapping as normal? Does it work for you ? Not for me : 404 Not Found. And this is, I suppose, because Struts2 use filter instead of servlet. I also tried by addin FORWARD as I saw somewhere but still no luck. But maybe is it with my apps

Re: [S2] forward to another action

2007-03-01 Thread cilquirm
> > L. > > > ------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/forward-to-another-action-tf3326999.html#a9259840 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] forward to another action

2007-03-01 Thread Laurie Harper
Mike Baroukh wrote: I can't figure how to do this. Can somebody help me I wan't to forward an action to another with something like requestDispatcher("/action.do?param1=value1").forward(req, res); - I can't use redirect because I wan't to use the same request scope. - I can't use chain be

forward to another action

2007-03-01 Thread Mike Baroukh
I can't figure how to do this. Can somebody help me I wan't to forward an action to another with something like requestDispatcher("/action.do?param1=value1").forward(req, res); - I can't use redirect because I wan't to use the same request scope. - I can't use chain because chain doesn't a