well, It's not work,
It throw NullPointException at following line:
System.out.println("##index    " + this.page.getIndex());
It seems page object haven't been created?

full code:
public class myAction{
    private Page page;
   public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }
   public String excute(){
        System.out.println("##index    " +
this.page.getIndex());////java.lang.NullPointerException
   }


}


> Yes, you can use them like that, only remeber to have public getters
> and setters (for Page and for Index)
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
BestRegards,
Mead
http://yayisoft.com

Spike Milligan  - "All I ask is the chance to prove that money can't make me
happy."

Reply via email to