tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject Re: c:import full windows path
Date Fri, 09 Aug 2002 12:21:36 GMT
On Fri, 9 Aug 2002, Amarant Merah wrote:

> Is it possible to import a file based on full path? e.g.
> E:/somepath/myfile.xml
> 
> I understand it is possible to import using full http
> url or relative to webapp like these:
> <c:import url="http://domain.com/somepath/myfile.xml"
> var="xml"/>
> <c:import url="/somepath/myfile.xml" var="xml"/>
> 
> I need something like
> <c:import url="E:/abc/somepath/myfile.xml" var="xml"/>
> and the above doesn't work.

Yes, you'd use a 'file' URL, as with a browser.  For instance:

 <c:import url="file:///e:/abc/somepath/myfile.xml" />

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message