Hi,
I developed a small application that can access a db. When I test it from the main routine it works fine,
BUT when I access the same code through a jsp Iam getting the following error:
java.net.MalformedURLException: unknown protocol: c
void java.net.URL.<init>(java.net.URL, java.lang.String, java.net.URLStreamHandler)
URL.java:480
void java.net.URL.<init>(java.lang.String)
URL.java:330
void oracle.xml.parser.v2.XMLReader.pushXMLReader(org.xml.sax.InputSource)
XMLReader.java:199
void oracle.xml.parser.v2.XMLParser.parse(org.xml.sax.InputSource)
XMLParser.java:146
void oracle.xml.jaxp.JXSAXParser.parse(org.xml.sax.InputSource, org.xml.sax.helpers.DefaultHandler)
JXSAXParser.java:286
void com.nl.vertis.blueprint.model.AppModuleImpl.loadConfiguration(javax.xml.parsers.SAXParser, org.xml.sax.InputSource)
AppModuleImpl.java:91
void com.nl.vertis.blueprint.model.AppModuleImpl.loadSettings()
AppModuleImpl.java:71
void com.nl.vertis.blueprint.model.AppModuleImpl.<init>(java.lang.String)
AppModuleImpl.java:43
etc.....
Ive narrowed it down to thepoint where I call upon the Parser.parse
method with a certain input source...
In mij test class I dump a file-location into it like so:
private static final String XML_APP_MODULE_NAME = "C:\\downloads\\jdeveloper\\LOI\\DataLayer\\src\\com\\nl\\vertis\\loi\\data\\AppModuleConfig.xml";
this constant is used as input for the parser.
The same constant is used for the jsp, but then it gives me the error.
Can someone help me and tell me what Iam doing wrong here.
Iam all out of idears..
Greetz Marc