wood burning stoves 2.0*
The moose likes JSP and the fly likes fmt bundle help 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 » Java » JSP
Bookmark "fmt bundle help" Watch "fmt bundle help" New topic
Author

fmt bundle help

Tina Desai
Ranch Hand

Joined: Mar 13, 2003
Posts: 365
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


Alongwith being a good coder, try to be a good professional as well!
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

You're not talking about JSTL, are you ?
What fmt tag are you talking about ?


[My Blog]
All roads lead to JavaRanch
Tina Desai
Ranch Hand

Joined: Mar 13, 2003
Posts: 365
I need help for JSTL fmt tag only.

Regards,
Tina
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
This article may help you get going.


Ping & DNS - my free Android networking tools app
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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

Joined: Mar 13, 2003
Posts: 365
Thank you all!

I got the right information.

Regards,
Tina
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: fmt bundle help
 
Similar Threads
web server/fmt JSTL and properties bundle caching
jsp multi-language
label from property file
i18n fun with jstl. Includes a war file.
fmt tag not working