Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

fmt bundle help

 
Tina Desai
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends,

I need some help on using the fmt tag for messages.

From the material I read, the fmt tag in a directive should be included at the start of the page.

What I am not sure of is, how should I specify the properties file in which I will be writing the error or success messages key value pairs?
1. Will I need to write any ResourceBundle class that loads properties from this property file?

2. Or specifying the .properties file in the setBundle tag is enough?

Thanks in advance!

Regards,
Tina
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're not talking about JSTL, are you ?
What fmt tag are you talking about ?
 
Tina Desai
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need help for JSTL fmt tag only.

Regards,
Tina
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article may help you get going.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh sorry, I was looking at the wrong thing.
You don't need a class, just property files.
There's a tutorial here:
http://www-128.ibm.com/developerworks/java/library/j-jstl0415/
 
Tina Desai
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you all!

I got the right information.

Regards,
Tina
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic