Quoting Purav ([EMAIL PROTECTED]):

> How do you implement loops then by parsing the html file

Use a template engine and write something like this:

    <html><blah><blah>
    <ul>
    #foreach $thing in $list { <li>$thing }
    </ul>
    <blah></html>

That's WebMacro (webmacro.org) but all of the available template
systems allow you to do things like looping without contaminating
your servlet code with HTML.

Justin

[EMAIL PROTECTED]
AltaVista Company

___________________________________________________________________________
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