Based on the the mail list archives, specifically

http://www.mail-archive.com/[EMAIL PROTECTED]/msg62191.html

It appears that there are issues with iPlanet 6.0 and Message resource
bundles.

I have several struts applications that are deployed as separate WAR files
but share, (ANT build task deploy's the common file(s) into the appropriate
WEB-INF/classes folder), a number of common property file names that contain
the same property keys. In my struts.xml file I have the standard
Messages.properties file and an alternative resource file,
"resource.CommonMessages.properties". Properties from the default resource
bundle are loaded succesfully, while properties from the alternate resource
bundle are not.

Within a JSP when I access resources using the alternate resource bundle ala
"<bean:message bundle='COMMON_RESOURCES' key='common.key.abc'/>" I get are
really horrible servlet exception. It appears that the key does not exsist.
It is not clear if the alternate resource bundle can be found in
WEB-INF/classes folder.

In following the above msg, I copied the common resource to a new folder and
added the folder's path to the virtual instance's JVM classpath. This
appears to resolve the servlet exception and the affected JSP pages render
correctly.

I have a problem with this work-around because some web-apps have a custom
version of the common resource bundle which I would expect to be found in
the WEB-INF folder. Since I cannot have the same file with the same name
different content in the same directory, I need to get the WEB-INF/classes
version correctly loading.

Are there another ideas from anyone that work with iPlanet?

Thanks

Anthony


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to