• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

properties bundles actring weird

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

the properties bundles is not generating everything in it. Sometimes i get the right message in the jsp page sometimes i get something like this: ???en_US.airport.information.tasks???
i checked the name on the bundle properties file and its correct:
airport.information.tasks=AIRPORT INFORMATION

Can anyone tell me why i m not getting the right message on the JSP page ?
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"greenhorn",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
 
Karim eltounsi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
here it is changed

About my above question i m using <bean: message key=..> to display my message but as i mentioned i cant get it to show up. Any ideas why
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"MoHa_Badr",

Please read my mesage once again; particularly this portion:

your display name must be a first and a last name separated by a space character

Please be sure to change your display name accordingly.

With regards to your question you stated:

Sometimes i get the right message

Under what conditions do the translation correctly occur versus when they do not?
[ June 25, 2007: Message edited by: Bear Bibeault ]
 
Karim eltounsi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Thanks for your reply. one of your sheriffs her name is "Mahalakshmi Annadurai", but she goes by "Maha Anna". so i don't see whats the problem with moha_badr.. anyway back to the main issue

The application displays all the messages fine except the ones that i added recently (Last Friday and today) ( thats what i meant by sometimes) i debugged, restarted but nothing, i made sure the files saved in the safe source is the latest version but it feels like may be its not the latest properties file that its being debugged on the server . i m not sure i could be wrong. any suggestion?
[ June 25, 2007: Message edited by: Mohamed_Badreddine ]
 
Karim eltounsi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just tried something. i deleted everything in properties bundle, i cleared all temporary files in IE and i debugged my application on the server and i got the same thing i used to get before( old message but not the new ones). so i guess the only explanation is that the application is reading an earlier version of the properties bundle. why and how can i fix it? any ideas?
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mohamed_Badreddine:
so i don't see whats the problem with moha_badr

The problem is as I stated twice in this topic already:

your display name must be a first and a last name separated by a space character

Please replace the underscore with a space character as instructed; "Mohamed Badreddine" will work out just fine.

Be aware that this is your third and final warning.
[ June 25, 2007: Message edited by: Bear Bibeault ]
 
Karim eltounsi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
chill out here it is without underscore...
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ther is no need to be snippy. You are only being held to guidelines that you agreed to when you signed up for your account.

With regards to your issue, are the entries that are not being picked up in new files, separate from the entries that are working, or are they additions to existing files containing working entries?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not JSP specific.
Moving to Other Java APIs
 
Karim eltounsi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah they are additions to existing files containing working entries?
 
World domination requires a hollowed out volcano with good submarine access. Tiny ads are optional.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic