RE: display data of action class on jsp in struts2

2011-03-05 Thread SACHIN :)
Your myList instance variable is not initialized with the data you want to display. > Date: Sat, 5 Mar 2011 05:59:28 -0800 > From: shekharlaa...@gmail.com > To: user@struts.apache.org > Subject: display data of action class on jsp in struts2 > > > i m new to struts2,rest

Re: display data of action class on jsp in struts2

2011-03-05 Thread Aaron Brown
ransaction(); > entr.begin(); > Query query=em.createQuery("select u.firstname from User u "); > List myList=query.getResultList(); > System.out.println(myList); > entr.commit(); > em.close(); > return new DefaultHttpHeaders("create&qu

display data of action class on jsp in struts2

2011-03-05 Thread shekhar16
em.close(); return new DefaultHttpHeaders("create"); } public List getMyList(){ return myList; } } [/code ] thanks in advance -- View this message in context: http://old.nabble.com/display-data-of-action-c