Friday, June 29, 2007

Dynamically Creating PDFs in a Web Application

I found this tutorial pretty useful, creating a PDF using iText without storing it, but stream out to the client browser.

Here the tutorial: Dynamically Creating PDFs in a Web Application

Saturday, June 23, 2007

Struts Form & request.setAttribute()

If using request.setAttribute("xxxList", xxxList) method to set the List Object, call below code to get the List Object to display in a JSP: "request_attribute.xml"

If using a List xxxList variable in Struts xxxForm, call below code to get the List Object to display in a JSP: "struts_form.xml"