Message: The following issue has been resolved as FIXED.
Resolver: fabrizio giustina Date: Mon, 27 Dec 2004 5:53 PM committed in cvs for 1.0. Displaytag can now load properties file from the thread classloader. You should still be careful on placing displaytag jar in server libs since, because of caching, properties will be shared among different web applications. --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/DISPL-144 Here is an overview of the issue: --------------------------------------------------------------------- Key: DISPL-144 Summary: DisplayTag does not load displaytag.properties if library and config file placed in different classloaders Type: Bug Status: Resolved Priority: Major Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: DisplayTag Fix Fors: 1.0 Versions: 1.0 RC2 Assignee: fabrizio giustina Reporter: Dominik Drzewiecki Created: Mon, 29 Nov 2004 10:33 AM Updated: Mon, 27 Dec 2004 5:53 PM Description: I recently placed displaytag-1.0-rc2.jar in tomcat's shared classloader (${tomcat.home}/shared/lib) instead of the webapp classloader and noticed that all my localized column titles disappeared. After a short investigation it turned out that the displaytag.properties placed in web application (which contains config for locale.provider=org.displaytag.localization.I18nStrutsAdapter) is not loaded. I placed a copy of displaytag.properties in the same classloader as the displaytag-1.0-rc2.jar (that is: ${tomcat.home}/shared/classes ), and voila, it works perfectly. The bottomline: displaytag.properties is usually strongly related with particular web application while displaytag library might be shared across aplications. It should be possible to have a configuration as described above. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel