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. Thank you in advance,,, __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com ___________________________________________________________________________ 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