Hi,

I have spend my afternoon answering to mails requesting the RTF servlet
code. I also made a mistake and send a mail with attachment to the list
instead of sending it directly to whoever had ask for it. I really apologize
for this.

For anyone still interested in the subject, I put a working example at

http://volga.wantjava.com/DeptRTF.html

This example is kindly hosted by WantJava.com (www.wantjava.com).

To see it working, simply type the word "Yonne" (without quotes) in the text
field and press the button. (As it only simulates a query to a dataBase, you
can in fact type whatever you want.)

The servlet uses the deptrtf.xsl stylesheet to make the transformation.

Your browser should display a dialog box asking if you want to store the
data on disk or open it. You can open it in MSWord.

You can download the sources at :

http://volga.wantjava.com/rtf.zip

You need to have Xalan installed to use this example.

Hope this help !
(My book contents other examples where the data comes from a MySQL database
and is displayed in various format such as delimited plain text, html, rtf,
pdf (using FOP) wml and so on.)

Pierre-Yves

___________________________________________________________________________
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