I have two tables vendorinfo having fields vendor code and its details and second table having vendor code versus order number.
And how to build a report in format which I have at end with page break using JSF ?
Vendor_code Order_Number description
100 s100 Medical
100 s200 Provision
200 s100 Medical
200 s50 Hardware
It print first customer ,its detail and then page break and then second customer it details and so on.
Any help ?
Maybe you want to try the [jsf-typewriter XSL-FO reporting|http://code.google.com/p/jsf-typewriter/] . It integrates XSL-FO into JSF and you dont have to care about implementing an own servlet, passing through variables and so on.