Mary Ann Pigora ARA/CFD:
> URL pagepath = new File(htmlFile).toURI().toURL();

This will return file:// URL. So this not what you want.

> aboutEMSTHtmlPane.setPage(pagepath.toString());

> where htmlFile is a relative path:
> "webapps/emst/WEB-INF/data/portal/aboutEMST.html"

So in this case you instructed ULCHtmlPane to download 
file://webapps/emst/WEB-INF/data/portal/aboutEMST.html file. This is not what 
you want (client machine of course doesn't have that file).

First you should place your HTML files to publicly acessible URL (anything 
below WEB-INF cannot be reached by external browser, including ULCHtmlPane) 
and then constructing URL manually. You can do that by simply moving data 
folder at same level as WEB-INF or by creating a servlet (like in [1]). 

[1] http://ulc-community.canoo.com/snipsnap/space/Printing
-- 
Frantisek Augusztin
[EMAIL PROTECTED]
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to