Quoting Tim Panton - Westhawk Ltd ([EMAIL PROTECTED]):
> I need to produce report files from a swing app- so there is no web
> server in the picture.
>
> We want the reports to be in HTML.
>
> I'd like to use a template system, where the users configure a sample
> report, and the application reads the template, substitutes real values
> and spits out a report.
>
> Has anyone done this ? Are the template systems tied to a servlet engine?
In the 0.89.1 release you can do this with WebMacro like this:
Template t = new FileTemplate("something.wm");
...
in the developer snapshot it gets better, you can do this:
WebMacro wm = new WM();
...
and get most of the services that would be available to you had you
subclassed from WMServlet.
Justin
___________________________________________________________________________
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