Flying saucer with struts2

Flying Saucer takes XML or XHTML and applies CSS 2.1-compliant stylesheets to it, in order to render to PDF (via iText), images, and on-screen using Swing or SWT. The library implements (basically) the entirety of CSS 2.1 and aims to be fully compliant with the W3C specification; it includes a small handful of CSS 3 … Read more

Date range query on Timestamp field in HQL

Suppose we want to make query between two dates in a timestamp field for example We have a table colors to store different colors

Pojo class for color table is

Above class shows that addDate is timestamp field and we want to query it as date for that we have casted timestamp field … Read more