Setting baseName for resource bundle at one place in JSTL

Posted on 2007-10-08
Last Modified: 2013-11-24
Hi Iam using JSTL Format tag in my project. The following is the code snippet.
       <fmt:bundle basename="keystone/formLabels">
                             <fmt:message key="msg1.text"/>

so where iam using this <fmt:message key="msg1.txt"> iam forced to set the resource bundle base name. Iam looking for a solution where we set the base name for resouce bundle at one place and use fmt:message multiple times. Is this achievable. If possible give some example.

Thanks & Regards,

    1 Comment
    LVL 11

    Accepted Solution

    <fmt:setBundle basename="keystone/formLabels" />

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Fix45 challenge 15 67
    dividesSelf challange 15 61
    count11 challenge 6 35
    HashMap Vs TreeMap 12 34
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    The viewer will learn how to implement Singleton Design Pattern in Java.
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now