What is the stack trace? Can you also post the code that uses the JAXP
APIs?
Thanks,
Sahoo
glassfish_at_javadesktop.org wrote:
> We have web application that contains xml file with menu configuration.
> Both this xml file and its DTD file are in root folder of classpath.
>
> Xml file contains pointer to DTD:
>
> <!DOCTYPE menu SYSTEM "menu-config.dtd">
>
>
> So we load menu config from XML using DOM model.
>
> When we try to load it from SE client, all is OK, parser finds dtd.
>
> But when we try to do so from web app deploying at Glassfish we get such error:
>
> Caused by: java.io.FileNotFoundException: C:\Java\glassfish\domains\domain1config\menu-config.dtd
>
> So Glassfish try to find DTD in domain's config folder not in classpath of web app.
>
> How can I solve this problem?
>
> Thank you.
> [Message sent by forum member 'hazurek' (hazurek)]
>
> http://forums.java.net/jive/thread.jspa?messageID=222811
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>