Hello, 

I need to process a *.jsp (or another extentsion) file from within a a servlet(or een 
somewhere else), and then use this output, without sending it to the client.
Reasons for this usage are:     
        * sending html email
        * use scripts with taglibs, and compile them after evaluation.
        * active caching

I tried this using:
        * JspFactory factory = JspFactory.getDefaultFactory();
        * getServletContext().getNamedDispatcher("jsp").include() // .forward
        * servlet copies tmp to tmp  file, request tmp file, process tmp file... 
(problems with security, and String currentFilePath = 
getServletConfig().getServletContext().getRealPath(req.getRequestURI()); )

So please could somebody tell me, or point me to information about how to get the the 
jsp page after it has been processed??


Greetings,

-- 
Eduard Witteveen        Systeemontwikkelaar NOS Internet
Mediacentrum Kamer 203, tel. +31(0)35 6773059

Sed quis custodiet ipsos custodes? : The sixth Satire from Juvenal

Reply via email to