dkim18
asked on
how to express many to many items in jstl?
Hi,
I am using spring/hibernate annotation to do crud.
Citation class{
String citationName;
Collection<Author> authorCollection;
}
Author class{
String lastName;
String middelName;
}
From my listcitation.jsp, I am trying to display citation records.
<td><c:out value="${reference.citatio nName}" /></td>
<td><c:out value="${reference.authorC ollection. lastName}" /></td> <=== if I do this it bugs out.
Any idea?
I am using spring/hibernate annotation to do crud.
Citation class{
String citationName;
Collection<Author> authorCollection;
}
Author class{
String lastName;
String middelName;
}
From my listcitation.jsp, I am trying to display citation records.
<td><c:out value="${reference.citatio
<td><c:out value="${reference.authorC
Any idea?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Someone mentioned about use fetch=.
Another mentioned creating entitymanage (which I don't know how to use it)
http://stackoverflow.com/questions/4263464/how-to-solve-lazyinitializationexception-not-using-fetch-fetchtype-eager
Any suggestions?
org.hibernate.LazyInitiali
org.hibernate.collection.A
org.hibernate.collection.A
org.hibernate.collection.A
org.hibernate.collection.A