How to prevent iFrame breakaway
Detect or cancel redirection out of the iframe
Few days ago I was searching for a solution to the problem I've encountered - I needed to prevent a third party page to break out of iframe inside a web page of my web application. For people who are not closely familiar with JavaScript, the following JS snippet will make it more clear how page can break out of ...
If you like this post, then consider subscribing to the full feed RSS.
If you like this post, then consider subscribing to the full feed RSS.
Export to PDF using iText and Flying Saucer
Render XML/XHTML/CSS 2.1 directly to PDF
In my previous post I attempted to generate PDF on the fly using iText library. My goal was to parse HTML snippet into PDF. Unfortunately, as I discovered iText alone is not powerful enough as HTML parser. iText is not flexible enough to manipulate the CSS. Its understandable, since iText's main functionality is PDF ...
If you like this post, then consider subscribing to the full feed RSS.
If you like this post, then consider subscribing to the full feed RSS.
Export to PDF using iText Java-PDF library
New Pebble plugin to export blog entries to PDF document
I had some time during this weekend, so I used iText, free Java-PDF library to make a plug in for Pebble blogging software. This plug in now allows to export blog entries to PDF document. I liked this library, except one thing - converting HTML snippets to PDF. The library allows you to set styles to HTML tags ...
If you like this post, then consider subscribing to the full feed RSS.
If you like this post, then consider subscribing to the full feed RSS.
Hibernate Event Interceptor
Register class as a listener on Hibernate events, in order to create an audit trail
Its quite common when you create an application, there is a need to create an audit trail on the application level where all entity insert, update and delete events are logged. In this post, I would like to describe a simple approach that can help you to avoid littering with unnecessary statements in your ...
If you like this post, then consider subscribing to the full feed RSS.
If you like this post, then consider subscribing to the full feed RSS.
















