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
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?
--
> 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
--- 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
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
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
> --
&
//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]
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)
>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
>
> 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]
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
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
12 matches
Mail list logo