Matt Raible wrote:
> I want to do the following:
> 
> <c:import url="file://d:\repository\assets\doc.html"/>
> 
> However, I get an UnknownHostException - is it possible to do this with
> JSTL?  My only solution (so far) is to use an iframe and do:
> 
> <iframe src="file://d:\repository\assets\doc.html"></iframe>
> 
> It's the only way I've found to read a file from the filesystem when
> it's outside Tomcat's webapps directory.

I'm pretty sure that the backslashes are interpreted as the Java escape
character. Try with forward slashes instead.

Hans
-- 
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com
JavaServer Pages        http://TheJSPBook.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to