Thank Thomas.

On 5/23/06, Thomas Cook <[EMAIL PROTECTED]> wrote:

A nested page flow must declare at least one "return" action that
links it back into the calling page flow.  Think of this sort of like
a return statement in a method.  If you didn't intend for your page
flow to be nestable, remove the nested=true attribute on your
Jpf.Controller annotation and the error should go away.


On 5/21/06, Li <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I created a controller for login process, and added Jpf tag for begin
> method:
> @Jpf.Action(
>         forwards = {
>             @Jpf.Forward(name = "success", path = "login.jsp")
>         }
>     )
> protected Forward begin(ReturnToForm initForm) {
> ......
> }
>
> But when I was compiling the application. It threw a error :
> "There is no Jpf.Forward annotation with returnAction attribute defined
for
> my nested Controller" ....
>
> Any idea?
>
>




--
=====================================
The world will be ended if love is everywhere.
                                              ---- Shawzi

Reply via email to