Please help! Struts 2/Eclipse - List Object is not displaying in JSP

2009-05-07 Thread SofIAm
Hi Everyone, I'm new to Struts. Please help me figure out why the List myList is not being displayed in JSP, although my String variable s is displayed. Your help will be greatly appreciated! Thanks! Here's the code: struts.xml http://struts.apache.org/dtds/struts-2.0.dtd";>

Re: Please help! Struts 2/Eclipse - List Object is not displaying in JSP

2009-05-07 Thread SofIAm
. Change the line >> "List >> myList = new ArrayList();" in getAllEmployees() to just be >> "myList = >> new ArrayList();" and do as Lukasz suggests and you should be OK. >> jk >> >> On Thu, May 7, 2009 at 11:57 AM, Lukasz Lenart >> &

Re: Please help! Struts 2/Eclipse - List Object is not displaying in JSP

2009-05-08 Thread SofIAm
That's great! I'll look into that. Thanks again. Jim Kiley wrote: > > The checkstyle, FindBugs, or PMD plugin does this for sure. > > On Thu, May 7, 2009 at 8:50 PM, Dave Newton wrote: > >> SofIAm wrote: >> >>> Thank YOU ALL! What a dum

Re: Please help! Struts 2/Eclipse - List Object is not displaying in JSP

2009-05-08 Thread SofIAm
s this or use the samelist. >public String getAllEmployees() { >//remove the List >List myList = new ArrayList(); > >} > > > Cheers. > > Satya > > On Thu, May 7, 2009 at 8:54 AM, SofIAm wrote: > >> >>