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

Reply via email to