1 Reply Latest reply on Apr 10, 2006 9:36 AM by Roman

    local DTD's problem

    Tomkooo Tomkooo Newbie

      hi,
      could anyone help me with packaging nac configurating web application to use local DTD's ??

      i'd like to use local DTD for struts-tiles.
      i have copied tiles-config_1_3.dtd to my WEB-INF directory and modified
      tiles.xml:

      <!DOCTYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles Configuration 1.3//EN"
       "/WEB-INF/tiles-config_1_3.dtd">
      

      but this does not work.
      could someone tell me where to copy "tiles-config_1_3.dtd" file and how to change "tiles.xml" file ??
      thanks

        • 1. Re: local DTD's problem
          Roman Newbie

          Hi Canto

          I had same problem and the decision is very simple,
          It's enough this
          <!DOCTYPE tiles-definitions PUBLIC
          "-//Apache Software Foundation//DTD Tiles Configuration 1.3//EN"
          "tiles-config_1_3.dtd">

          and then to put the dtd file on the directory from witch is started the JBoss and on CLASSPATH. I start my JBoss complexy and for this purpose I put dtd files on the starting folder of JBoss, but on CLASSPATH is mandatory. The above script work i use this way. Good luck!