Version 0.1.0 of HTML.Template.java has just been released. It's still a development release, but is getting stable. A few bug fixes, and enhancements. Also added the Filter interface.
Following is the ChangeLog
ver 0.1.0
- supports Hashtable style constructor parameter - Now also accepts Booleans and Integers in constructor parameters, not just Strings - path parameter accepts a single String as well as an array of Strings - setParam also accepts int, boolean, Integer and Boolean - added Filter interface - fixed bug that prevented file handle from working (thanks to Marcos Ramirez) - fixed case bug with include filenames
Philip
On Wed, 21 Aug 2002, Philip S Tellis wrote:
Version 0.1.0 of HTML.Template.java has just been released. It's still
Heh, forgot to post the URL: http://html-tmpl-java.sourceforge.net/
Philip
hello... With JSP and efforts to separate presentation from logic..why would anyone still want to use HTML inside servlets?Its a solution to a problem that should have been avoided!
regards, kishor
--- Philip S Tellis philip@konark.ncst.ernet.in wrote:
On Wed, 21 Aug 2002, Philip S Tellis wrote:
Version 0.1.0 of HTML.Template.java has just been
released. It's still
Heh, forgot to post the URL: http://html-tmpl-java.sourceforge.net/
Philip
-- "In order to make an apple pie from scratch, you must first create the universe." -- Carl Sagan, Cosmos
__________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com
On Thu, 22 Aug 2002, kishor bhagwat wrote:
With JSP and efforts to separate presentation from logic..why would anyone still want to use HTML inside servlets?Its a solution to a problem that should have been avoided!
Well, JSP still has too much java in the HTML. How many HTML designers do you think could do JSP? The way I've seen it happen is the designer makes static html and passes it on to the programmer who addes in the JSP. Absolutely true - presentation and logic should not be in the same source file and definitely shouldn't both be under control of two people.
HTML.Template java is meant to take the HTML out of your servlets and put it into a separate template file, so that changing your template doesn't require recompiling the servlet.
Moreover, the same templates will work with java, perl, php, python, ruby and lisp, and...I use my same shtml templates for static as well as dynamic pages - let's see any other templating solution do that.
Philip