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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to