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

Reply via email to