You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jagdish Arora <ja...@hotmail.com> on 2003/01/14 08:49:12 UTC
how to change struts-config.xml so that DTD is local?
How can I change the config file and put the DTD on my local drive?
I tried to put a relative path (and included that in my WAR), but suddenly, the JBoss tried to find it by JNDI lookup. If I use the URL, it works fine (when I am on the Internet)
I am using JBoss3.0.0 with Tomcat 4.0.3, and DTD is version 1.1
This is what I have and it works when I am on the Internet:
<!DOCTYPE struts-config PUBLIC "-// Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
This is how I tried and got a JNDI look up failing:
<!DOCTYPE struts-config PUBLIC "-// Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"struts-config_1_1.dtd">
best,
Amrinder