I have a JPA query like that
Query query = em.createQuery("*SELECT c.name, c.id FROM Group c ORDER BY
c.name*");
List resultList = query.getResultList();
In Action class I have *resultList *and *GroupId *declared with getter and
setters
private List resultList ;
private long GroupId;
In JSP I have written like that :
*<s:select name="GroupId" list="resultList" listKey="id" listValue="name"
value="%{GroupId}" />*
But nothing is displaying in my drop down box when I put listkey and
listvalue.
I will be great full if somebody tell me how to make it work.
Thanks
Arpan