File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes fmt bundle help Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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: 14671
    
  11

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: 35237
    
    7
This article may help you get going.


Android appsImageJ pluginsJava web charts
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14671
    
  11

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://jrebel.com/download
 
subject: fmt bundle help
 
Similar Threads
web server/fmt JSTL and properties bundle caching
fmt tag not working
i18n fun with jstl. Includes a war file.
label from property file
jsp multi-language