You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Julia Yang <jy...@graviton.com> on 2001/09/14 01:04:45 UTC
Help on: action forward to an action mapping
Any body can help me
-----Original Message-----
From: Julia Yang
Sent: Thursday, September 13, 2001 3:30 PM
To: 'matt.raible@icsynergy.com'
Subject: RE: iPlanet 6: action forward to an action mapping
Hi, Matt
Thanks for your mail
It certainly helps a lot. I am be able to see the browse try to run the
it, but with some problem. The error message says:
Invalid path /ListDCUsAction was requested
My mapping is like
<action path="/dcu" type="com.graviton.fe.struts.DCUsAction"
name="DCUsForm" scope="request" input="/configure_dcu_create.jsp"
validate="true">
<forward name="success"
path="/ListDCUsAction.do" redirect="true"/>
</action>
The ListDCUsAction supposed to be involked. Do I have to have
ListDCUsForm since I don't have it? Or Is there any place to tell the
pass ? My ListDCUAction locates in the same package as this DCUsAction
does.
Thanks
Julia
-----Original Message-----
From: Matt Raible [mailto:matt_raible@yahoo.com]
Sent: Thursday, September 13, 2001 3:01 PM
To: Julia Yang
Subject: Re: iPlanet 6: action forward to an action mapping
I added redirect="true" and it fixes it, the bad news is that you lose
any
request variables. To get around this, I stuff the needed variables
into the
session, and grab them in my next action class.
Example:
<forward
name="success"
path="/do/editProfile?action=Edit"
redirect="true" />
Hope this helps,
Matt
--- Julia Yang <jy...@graviton.com> wrote:
> Hi, Matt
>
> Have you find out the way to solve this problem?
> I have same question, if you don't mind, can you share the answer with
> me ?
>
> Thank you very much
>
> Julia
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/