ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Yee <r...@cruzio.com>
Subject Re: Relative URI for DTD
Date Sat, 12 Jan 2008 22:46:15 GMT
If you use the non-relative URL (ie http://ibatis.apache.org.....) the 
parser will get it from the jar file. I suppose you are using the older 
version of iBATIS that still included the DAO framework. You might also 
consider using the DAO template from Spring.


Brian Sterner wrote:
> I cannot get a relative uri to work in Dao.xml for the dao-2.dtd.  
> I've tried placing both the xml and the dtd in the same directory and 
> using...
> <!DOCTYPE daoConfig SYSTEM "file://dao-2.dtd">
> To no avail.  Is it possible to use a relative uri with the ibatis 
> config files?  Can I use the SqlMapClasspathEntityResolver class in 
> some way to accomplish this?
> Thanks - Brian
> ------------------------------------------------------------------------
> Never miss a thing. Make Yahoo your homepage. 
> <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs> 

View raw message