Saturday, March 12, 2011

One pattern for JSP applications

A simple model that lets you execute (do not execute) some JSP code depends on the state of some external file – File monitor taglib. The idea is very simple – during the first execution tag saves last modified date for file in the application (or session) scope. So, during the subsequent calls we can execute some code depends on the current modification date for that file.

No comments: