Bug 12701 - Need to have facility in bundle tag to pass default ResourceBundle in case specifies bundle is not present
Summary: Need to have facility in bundle tag to pass default ResourceBundle in case sp...
Status: RESOLVED WONTFIX
Alias: None
Product: Taglibs
Classification: Unclassified
Component: I18N Taglib (show other bugs)
Version: 1.0
Hardware: All other
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-16 18:26 UTC by nandkishor.nema
Modified: 2009-07-10 00:34 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nandkishor.nema 2002-09-16 18:26:09 UTC
Due to high volume of properties file for different language, we have to create 
separate directory for each language/country *.properties file. 

When defining resource bundle base name in bundle tag..I need to specify 
direcory path and *.property file name. In case if the file is not present...I 
get exception saying the ResourceBundle is not found. 

One way of getting rid of this problem is that I can keep 
ResourceBundle.properties file in each language/coutry directory but this will 
be unneccesary ...

What I want to do is to use en_US language/directory as default directory for 
all properties file in case a property file of other langauge is not present.

I can do this in JSP by handling eception using try and catch....But it would 
be really good if we can change BundleTag.java to handle this functionality.

Thanks & Regards
Nandkishor Nema
Comment 1 Henri Yandell 2009-07-10 00:34:00 UTC
JSTL replaced the i18n taglib, so this won't be worked on.