> Use tempaltes, and when you need to use a dynamic element like table,
> insert some "placeholeder" into your HTML instead of the table that will be
> substituted later.  Then use something to dynamically generate the table
> (we currently use the W3C DOM library).  After the table is generated,
> replace the "placeholeder" with the generated table.
>
> Any comments on this approach?

I would use ECS <http://java.apache.org/ecs/> instead of the W3C DOM library
in order to generate the HTML output of the table. Also, the above approach
is ok, but I would use something like WebMacro or FreeMarker as your
replacement engine instead of re-inventing the wheel (ie: creating your own
replacement engine).

-jon

___________________________________________________________________________
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

Reply via email to