At 10:20 19-01-00 -0500, you wrote:
>1- Create an HTML page with inline <servlet> tags for all dynamic values
>(so that each dynamic value is replace by a call to a servlet who return
>the right value).
>
>2- Create an HTML template with own-defined tags so that when this page is
>requested, the servlet is called, read the template and replace all the
>own-defined tags by the appropriate values.
Solution 2 is far and away the best. Just read the file containing the
html inside the servlet, replace the data, and send the result.
I'd also use <!--% and %--> as the delimiters for the tags. That way the
tag names would not be displayed because they're inside of comments.
Marty
___________________________________________________________________________
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