This week's giveaway is in the Java/Jakarta EE forum. We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line! See servlet, or use the implict "out" object if this is in a JSP.
If this POJO class is used in a JSP, then you'll have to pass the out object to its method. That's not good design, though. It would be much better to give the POJO JavaBean characteristics, and then use JSTL and EL to output its data.