Maybe you should tryout www.webmacro.org. I think you can create
presentation templates with placeholders
which can then be substituted by values from a database? Is there anyone
who has used webmacro? I think
from what I read of a it a while ago, it helps you accomplish that.
Let me know if you try it out and it works..
Thanks
At 02:39 PM 06/21/2000 -0700, Richards Ryan wrote:
>I have a servlet that reads in a static html page and displays it via an
app/web server. I am having no problems with this part except that I would
like to move a step further and dynamically generate a populated selection
box with items retirieved from a database. I have done all these bycoding
the html tags in a servlet but I would like to read in my static 'template
html' files and REPLACE/SUBSTITUTE some marker with the generated tags i.e.
<OPTIONwhatever1</OPTION> .... <OPTION>Whatever9</OPTION> etc.
>
>What is the best practice for using substitution in a static file? SHould
I create some marker like '#replaceme#' and have the servlet change that to
the required html tags??
>
>Thanks for any help.
>Ryan
>
>Ryan Richards
>ThinkSpark
>Oklahoma City, OK
>http://www.thinkspark.com
>_________________________________________________________________
>Get your own free, private space on the Web at www.intranets.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
>
Rajesh Nair
[EMAIL PROTECTED]
Ph: 913 599 7201
----------
R&D
Informix Software
___________________________________________________________________________
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