WebMacro or TEA is what Jason recommends for HTML templating. Mark
This email scanned with Norton AntiVirus 2002 ----- Original Message ----- From: "Rami Developer" <[EMAIL PROTECTED]> Sent: Thursday, December 27, 2001 5:18 PM > Hi, > I am using servlets and would like to have a > template file for my HTML instead of hard coding it in > the servlet. > Currently I am using a "dump" way, by storing the > template (HTML file in this case). Then, whenever the > servlet is requested, it reads the template and > inserts the dynamic data in place of some predefined > string, e.g. a comment. Afterwards, the servlet > displays the new HTML to the user. > > My question : is there a better (smarter) way to do > that? If yes, I will appreciate an example, article to > read or a hint in the worst case. ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html