Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access Custom Resource Bundle?

 
Swapan Mazumdar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic