One of the servlets in my webapp parses and constructs objects based on XML
configuration using the Commons-digester. This happens in the servlet's
init. The code to parse the XML and construct objects works fine when I
invoke it from a standalone app. However when I invoke the same code from
within a webapp, my webapp fails when digester tries to construct objects
based on the XML spec. I'm not sure why this is happenning because the class
that is causing the problem is in my WEB-INF/classes. So its definitely
available to the webapp class-loader. I guess at some point during the XML
parsing, the class-loader is changing (??). And that class-loader doesn't
have WEB-INF/classes in its search-list.

Hoping someone has seen this before or can help me with this ?

      thanks

      Srinivas

Reply via email to