Hi Rakesh,
use preparable interface and in prepare method initialize anything
that is necessary to show that page.

Best greetings,
Pawel Wielgus.

2010/1/4, Rakesh K nair <rakeshknai...@gmail.com>:
>
> Hi
>
> In my struts2 jsp page there is a "selection list".I am populating the
> "list" from action class before rendering the page.I have some validation in
> the page.After submitting it calls the same page.If validation is successful
> it enters the action class and initializes the "list" , but if it is failure
> then it will go to "input" result from there to jsp page without entering
> action class then raising an null pointer exception.I need that "list" even
> if the validation fails.
>
> Please help me to get out of this problem
>
> expecting your kind interaction
>
> thanks in advance
>
> rakesh
> --
> View this message in context:
> http://old.nabble.com/struts-2-validation-error-tp27009670p27009670.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to