It will be great if there is also a JNDI mock context
in the Struts Test Case distribution.
I have coded one which rely one a HashTable for
setting/getting values in the JNDI context.
I haven't had the time to write all the methods, and
also haven't time to code an implementation which rely
on a context descriptor (like myapp.xml) for finding
the JNDI name/values [and this approach is limited to
specific servlet containers [i was thinking to Tomcat
which have different context descriptors than Weblogic
or Jboss for example).
so anybody who want a -limited- JNDI implementation
could use the attached file.