I think you try one of this and *hope* :-) it works:
1) Store the "google.dtd" in the servlet.jar. I think that's how the dtds
(web.xml) that Tomcat uses are processed.
OR
2) You might somehow need to edit the <!DOCTYPE GSP SYSTEM "google.dtd">
tag to "<!DOCTYPE GSP SYSTEM
"<path_to_webapps_directory>/webapps/cnams/WEB_INF/classes>" when your
application is run.
OR
3) Check how Struts implements this. See the Digester link under
http://jakarta.apache.org/commons/index.html

The third might seem the best way to approach and solve your problem. The
previous two should be taken as quick and dirty solutions (that is if they
work :-)
RS





Gaurav Arya <[EMAIL PROTECTED]> on 03/11/2002 04:26:55 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   "Tomcat-User (E-mail)" <[EMAIL PROTECTED]>
cc:

Subject:  Location of DTD file

Hi,
I am using Xerces to parse an xml document which i get in response from an
external site. The XML has the following line:
<!DOCTYPE GSP SYSTEM "google.dtd">
I have kept the DTD file "google.dtd" in webapps\cnams\WEB-INF\classes
directory but I get an Exception saying "File "google.dtd" not found."
Where
should I keep this dtd file?
Regards,
Gaurav










--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to