tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincenzo Marchese <v.march...@arsretia.net>
Subject Jasper for simple text output
Date Fri, 05 Apr 2002 09:11:02 GMT
Hello everyone,
I've made a series of modifications to tomcat jsp parser jasper to strip 
off any reference to http and servlet related reference.
This ha been done to use a JSP in a simple text generation (for instance 
RTF)
Obviously many features of JSP are no more supported (custom tag, 
session attributes) but you can use all the power of JSP syntax for
writing your text-generation-jsp-pages.
An interesting application of this is in writing jsp for RTF documents 
generation. You can use your preferred word processor inserting
java code as in a JSP page. The only trade-off is that you have to 
insert special new line chars to avoid paragraph formatting in your java 
code
(this can be done using shift-enter in StarOffice) and that you have to 
pre-process your rtf file to un-escape special chars (e.g.: {,}," )
before parsing it with the modified Jasper.

Is anyone interested ?


Vincenzo Marchese

-- 
   How many boards would the Mongols hoard if the Mongol hordes got bored?
		  -- Calvin
-----------------------------------------------------
      Vincenzo  Marchese
        ARSRETIA S.r.l.
      Via D. Sansotta, 97
        00144 Roma (IT)
e-mail: v.marchese@arsretia.net
     Tel.: +39 06 52270097
     Fax: +39 06 52272313




--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message