Bug 10334

Summary: BundleSupport fails to find resources in a web app
Product: Taglibs Reporter: Paul Bonfanti <paul>
Component: Standard TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: CLOSED FIXED    
Severity: major    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Paul Bonfanti 2002-06-28 17:53:25 UTC
BundleSupport fails to find resources in a web app when standard.jar is placed 
in the classpath instead of the web app.  This can be seen by removing 
standard.jar from the standard-examples.war and placing it in the classpath.  
Then try the i18n and formatting examples.  The fix is to modify the 
ResourceBundle.getBundle() calls to take "Thread.currentThread
().getContextClassLoader()" as a third parameter so it will use the current 
context classloader instead of the classloader that loaded BundleSupport to 
find the resource.
Comment 1 Jan Luehe 2002-06-28 22:17:10 UTC
Fixed.