wood burning stoves*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Access Custom Resource Bundle?" Watch "Access Custom Resource Bundle?" New topic
Author

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
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.

Regards,

Swapan
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Access Custom Resource Bundle?