register the DTD in struts applicationThe problem is most likely due to your
servlet container not respecting getResource/getResourceAsStream according
to the servlet spec. If you're using WebSphere, take a look at the following
document for where to place the DTD files:
www.distribucon.com/struts/WASInstall.htm

If you're using something else, just be sure that the DTDs are in the right
directory (org.apache.struts.resources), and that the servlet engine has the
right CLASSPATH set. Or, check that your servlet engine can load resource
files from a JAR file (struts.jar).
--
Dan Miser
http://www.distribucon.com


        Does anybody know how to register a DTD in struts application. i had
call overwrite the "registrations[]" string array inside my ActionServlet.
and in my ActionServlet's init() mehtod, i had called super.init() then a
callback to initServlet in turn calling digester.register() to resgister
DTD. but it did recoganize the DTD.

Reply via email to