I have to create an HTML page with a table containing dynamic values and
decide to use a servlet. Has I'm not sure about the HTML page look, I
would like to use an architecture that permit to change to HTML with an
appropriate editor without having to change the servlet code (which imply I
can't hardcode the HTML page in my code). I think about 2 solutions but
still don't know which one would be the best (for performance especially):
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.
I would have tend to solution #1 for easyness but maybe I missed some
considerations. Any ideas? Also, does the most web server support
<servlet> tags or they're more rares? What about Netscape Entreprise
Server 3.0?
Thanks a lot,
Stephane
___________________________________________________________________________
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