8 Jul 2008 13:01
Subreport and Struts2 problem
Hi.
I'm using jasper reports for the first time and my objective is to integrate
it into my web application where i'm using spring, struts2 and hibernate.
For start i create a simple and example with 2 classes: User and Morada
where Morada is a List.
Soo, as far i understand i need to create a report and then a subreport to
represent this List...
The problem is that i get all the User information except this List of
Morada.... My subreport stays blank.....
Here“s my code:
User.java
public class User implements Serializable {
private static final long serialVersionUID = -270523345211099505L;
private int id;
private int version;
private String nome;
private Date dataNascimento;
private List<Morada> moradas = new ArrayList<Morada>();
private String carro;
(Continue reading)
RSS Feed