Hello,
In the previously presented code, I am not getting any data from database. In our application, I was using iText library for generating graphical reports where I will be getting data from a postgreSQL database. The following method will be called from an action class.