; -Betty
>
> -Original Message-
> From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 11, 2005 2:36 PM
> To: Struts Users Mailing List
> Subject: Re: argument to struts config forward mapping
>
> You can't (and shouldn't) modify the resu
Subject: Re: argument to struts config forward mapping
You can't (and shouldn't) modify the result of mapping.findForward()
-- as you've seen, Struts won't allow you even if you tried.
Do this instead:
ActionForward forward = new ActionForward(mapping.findForward("su
text.java:3764)
> at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
> :2644)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
> -
Struts Users Mailing List
Subject: Re: argument to struts config forward mapping
Yes.
Attachment 13818 would encode parameter values using UTF-8. Of course if
you use that, you can change it to whatever you need. You'd use it like
this:
ActionRedirect redirect =
new ActionRed
eed to do all the proper URL encode at this
> level?
>
> -Betty
>
> -Original Message-
> From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 11, 2005 2:07 PM
> To: Struts Users Mailing List
> Subject: Re: argument to struts config forward mapping
>
&g
AIL PROTECTED]
Sent: Friday, February 11, 2005 2:02 PM
To: user@struts.apache.org
Subject: Re: argument to struts config forward mapping
parameter="dispatch"
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Uta
I am assuming that I will need to do all the proper URL encode at this
level?
-Betty
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 2:07 PM
To: Struts Users Mailing List
Subject: Re: argument to struts config forward mapping
What you
al Message-
From: Eric Lemle [mailto:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 2:02 PM
To: user@struts.apache.org
Subject: Re: argument to struts config forward mapping
parameter="dispatch"
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South Stat
What you can do is:
>
> redirect="true" />
>
...then in your action:
ActionForward result = new ActionForward(mapping.findForward("success"));
result.setPath(result.getPath() + myIdValue);
return result;
If you need to specify more than one param, or need to decide which
params to
parameter="dispatch"
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 2/11/2005 2:58:28 PM >>>
Does 1.2.4 support th
You can use the
dispatch=
for one argument but the others you must find a different way
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECT
Does 1.2.4 support the following?
How would pass the argument in Action? Thanks.
-Betty
12 matches
Mail list logo