Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A) register the tlds in web.xml

edit Edit web.xml and add the following lines:taglib definitions as follows. Note it is important to adde them before jsp-property-group

Code Block
xml
xml

<jsp-config>
   <taglib>
     <taglib-uri>cms-taglib</taglib-uri>
     <taglib-location>cms-taglib.tld</taglib-location>
   </taglib>
   <taglib>
     <taglib-uri>cms-util-taglib</taglib-uri>
     <taglib-location>cms-util-taglib.tld</taglib-location>
   </taglib>
   <taglib>
      <taglib-uri>cmsfn-taglib</taglib-uri>
      <taglib-location>cmsfn-taglib.tld</taglib-location>
    </taglib>

    <jsp-property-group>
      <url-pattern>*.jsp</url-pattern>
      <page-encoding>UTF-8</page-encoding>
    </jsp-property-group>
</jsp-config>

And copy the files to webapp/WEB-INF

...