Ah good catch, this is whats causing it. Although as I said, you dont need to 
rename the method if you've setup your struts.xml as it is.

Jim Kiley wrote:
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





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

Reply via email to