tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Agarwal, Naresh" <nagar...@informatica.com>
Subject Location of external schema file for a webapp in Tomcat
Date Tue, 20 Jan 2004 08:26:45 GMT
Hi
 
I'm writing a web app in Tomcat, which uses a SAX Parser for parsing an XML. I'm specifying
the Schema file (ConfigUpdate.xsd) to the SAX Parser by setting a property as follows:
 
parser.setProperty(SCHEMA_LOCATION_PROPERTY_ID, SCHEMA_LOCATION_PROPERTY_VALUE );
 
where SCHEMA_LOCATION_PROPERTY_ID is " http://apache.org/xml/properties/schema/external-schemaLocation"
 
and SCHEMA_LOCATION_PROPERTY_VALUE is " http://www.xyz.com ConfigUpdate.xsd"
 
 
However, parser is not able to find the xsd file at the run time. 
 
Where should I put the xsd file in Tomcat, so that SAX Parser can read it at run time?
 
thanks,
Naresh    
 

Mime
View raw message