Even then it won't be OK.  The OP is declaring myList as a local variable in
getAllEmployees(), so getMyList won't return it.  Change the line "List<String>
myList = new ArrayList<String>();" in getAllEmployees() to just be "myList =
new ArrayList<String>();" and do as Lukasz suggests and you should be OK.
jk

On Thu, May 7, 2009 at 11:57 AM, Lukasz Lenart <lukasz.len...@googlemail.com
> wrote:

> 2009/5/7 SofIAm <sof.am...@yahoo.com>:
> >        public String getAllEmployees() {
>
> This method is never called, renamed it to execute() and should be ok
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Jim Kiley
Senior Technical Consultant | Summa
[p] 412.258.3346
http://www.summa-tech.com

Reply via email to