On Mon, May 24, 1999 at 11:02:03PM -0700, Guillaume ORIOL wrote:
> >         I have deployed Apache JServ-style templates in an intranet.
> >They've also been successful from a development and maintenance
> >standpoint.
> I didn't know JServ had templates? Could you give us more information about
> this.

        It's in the org.apache.util.template package. The tags are:

        &value;                 -- substitute in a variable
        <(variable)>...<@>      -- If variable is defined,
                                        insert everything up to
                                        the <@> tag.
        <(!variable)>...<@>     -- If variable is not defined,
                                        insert everything up to
                                        the <@> tag.
        <[dataset]>...<@>       -- For each element in dataset
                                        (essentially a Vector),
                                        substitute in the text up
                                        to the <@> tag.

        I've used it in one intranet for a client and in a few
internal projects. It's easy to learn and easy to write the
code side of it.

--
Robert Crawford                 [EMAIL PROTECTED]
http://www.iac.net/~crawford

___________________________________________________________________________
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