Hello,

perhaps you people can help me...my application has various resources deployed. 
Among them are a kind of HTML template files. I take the files, replace part of 
the contents of the file according to a certain syntax, and want to display the 
resulting html file in an iframe on a Tapestry page.

To do this, I am currently creating temporary html files. I use the 
createTempFile method of java.nio.Files. Those temporary files are thus stored 
locally on each user's pc. But when I want to display the generated HTML file, 
I have to use File://<File:///\\> as a prefix, which probably doesn't work with 
my browser.

How would you create temporary files inside the servlet container so that you 
could access them using ServletContext or whatever necessary?

Regards,
Daniel

--
Dipl. Inf. Daniel Poggenpohl, Fraunhofer-Institut für Software- und 
Systemtechnik ISST
Compliance- und Sicherheitslösungen
Emil-Figge-Straße 91, 44227 Dortmund, Germany
Telefon: +49 (0) 231 / 9 76 77-323
mailto: 
daniel.poggenp...@isst.fraunhofer.de<mailto:daniel.poggenp...@isst.fraunhofer.de>
http://www.isst.fraunhofer.de<http://www.isst.fraunhofer.de/>

Reply via email to