Does it have to be a parameter? You should be able to do
request.setAttribute("id","1"), which you can retrieve in Action 2 with
request.getAttribute("id").
(*Chris*)
On 9/22/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
The ActionForward instances returned by findForward() are unalterable
The ActionForward instances returned by findForward() are unalterable,
that's what the exception is telling you. What you can do is:
ActionForward fwd = new ActionForward(mapping.findForward("gf_action2"));
That gives you an exact copy of the forward, and you can then alter it as
required.
Fran
Hi, thank you very much.
But I got the "java.lang.IllegalStateException:
Configuration is frozen"
exception.
Could you please help me?
Thanks,
qq
--- "Givler, Eric" <[EMAIL PROTECTED]> wrote:
> Can't you do something like this:
>
> fwd = mapping.findForward( "gf_action2" );
> fwd.setP
Can't you do something like this:
fwd = mapping.findForward( "gf_action2" );
fwd.setPath( fwd.getPath() + "?id=100");
return fwd;
gf_action2 would be a global-forward to action2.
-Original Message-
From: Tony Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 10:46 AM
Hi,
I have to actions, action1 and action2,
Inside action1,
protected ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse respose)
5 matches
Mail list logo