wood burning stoves 2.0*
The moose likes Struts and the fly likes Access Custom Resource Bundle? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Access Custom Resource Bundle?" Watch "Access Custom Resource Bundle?" New topic

Access Custom Resource Bundle?

Swapan Mazumdar
Ranch Hand

Joined: Jul 23, 2003
Posts: 83
If I define my own resource bundle using <message-resources> elements for my web module, how can I be able to access key / value into my jsp.

I have one entry in my struts-config.cfg file i.e <message-resources parameter="ApplicationResource"/>

I want to use it to store and access data related to smtp server, individual email addresses.

Please can somebody help.

thanks in advance,

Swapan Mazumdar
Ranch Hand

Joined: Jul 23, 2003
Posts: 83
I have got my answer through the link below. http://www.systemmobile.com/articles/strutsMessageResources.html

It has provided me clear insight about the resouce bundle.

Anyone who stumbles to this post must check this out.


I agree. Here's the link: http://aspose.com/file-tools
subject: Access Custom Resource Bundle?
Similar Threads
A query on Struts 1.3 validation
i18n Internationization HELP! :)
Getting values from properties in validate-using multiple message-resources in struts
accessKey and optionsCollection
serveral ApplicationResources .properties for one project?