Hans Bergsten wrote:

> ...as
> long as a servlet can open a file directly using a File object and a path
> returned from SerlvetContext.getRealPath(), including a file servlet in
> an add-on engine doesn't compromise security more than it already is.

Actually, I tried opening the .html file and just sending the bytes back to the 
browser.  This didn't work either because the 'environment' (current document 
directory, etc.) was not correct.  It happens that the .html file I'm trying to open 
uses frames.  It could not find the frame pages because the environment was still set 
to the servlet's environment rather than the .html file's environment.

cc

begin:vcard
n:Cobb;Christopher
tel;cell:703-909-7550
tel;fax:703-648-7475
tel;work:703-648-6725
x-mozilla-html:TRUE
org:Powerhouse Technologies, Inc.
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:SW Architect
fn:Christopher Cobb
end:vcard

Reply via email to