I'm developing a web application with Velocity. I'm using both the file and class resource.loaders. For my web site, it's necessary to include a HTML file from another web application into my velocity templates. Velocity disallows this for security reasons.
I'm wondering what approach I should use to include these files.
* It'd be great if I could include a file directly with the #include directive. Is this going to be possible in the future? Or is this a special case?
* My admin doesn't want me to copy the HTML files into the web app during the build, so that's out.
* I thought what I could do is have my servlet fetch the HTML page into a StringBuffer and then put that into the template through my context.
One of my thoughts is that I need to be able to run as an unpacked WAR file, and thus have no direct filesystem access. If it's an unpacked WAR, is it possible to access another web application's files with Velocity.
thanks!
Sam
_________________________________________________________________
MSN Messenger with backgrounds, emoticons and more. http://www.msnmessenger-download.com/tracking/cdp_customize
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
