xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: luca <passani AT eunet.no>
- To: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] URI
- Date: Mon, 05 Apr 2004 11:01:01 +0200
thanks, is there an API to do the encoding?
I reported the expanded path, but my real problem is that
I am building a web-application
and I'll need to read my config XML file out of /WEB-INF/,
which I can achieve through
ServletContext().getRealPath("/WEB-INF/myfile.xml").
Also, will I need to append the "file:///" string at the beginning?
thanks
luca
Elliotte Rusty Harold wrote:
At 12:52 AM +0200 4/5/04, luca wrote:
Hallo,
I have this line in my servlet:
String path = "file:///C:/Program Files/Apache Group/Tomcat 4.1/webapps/wurfl/WEB-INF/wurfl.xml";
ObjectsManager.getWurflInstance(path);
Your path variable is not a legal URI. URIs may not contain an unescaped space. If you escape the space and rewrite your path as "file:///C:/Program Files/Apache Group/Tomcat%204.1/webapps/wurfl/WEB-INF/wurfl.xml" it should work.
-
[XOM-interest] URI,
luca, 04/04/2004
-
Re: [XOM-interest] URI,
Elliotte Rusty Harold, 04/04/2004
-
Re: [XOM-interest] URI,
luca, 04/05/2004
-
Re: [XOM-interest] URI,
Elliotte Rusty Harold, 04/05/2004
-
Re: [XOM-interest] URI,
luca, 04/05/2004
-
Re: [XOM-interest] URI (and question re: catalog resolvers),
Michael Abato, 04/06/2004
-
Re: [XOM-interest] URI (and question re: catalog resolvers),
Elliotte Rusty Harold, 04/06/2004
- Re: [XOM-interest] URI (and question re: catalog resolvers), Michael Abato, 04/06/2004
-
Re: [XOM-interest] URI (and question re: catalog resolvers),
Elliotte Rusty Harold, 04/06/2004
-
Re: [XOM-interest] URI (and question re: catalog resolvers),
Michael Abato, 04/06/2004
-
Re: [XOM-interest] URI,
luca, 04/05/2004
-
Re: [XOM-interest] URI,
Elliotte Rusty Harold, 04/05/2004
- Re: [XOM-interest] URI, Mike Fitzgerald, 04/05/2004
-
Re: [XOM-interest] URI,
luca, 04/05/2004
-
Re: [XOM-interest] URI,
Elliotte Rusty Harold, 04/04/2004
Archive powered by MHonArc 2.6.24.