Its urgent !!

Hi,I want to deploy the .properties files in the package...How to deploy the properties files... is it not the case that with the other files of the package the .propeprties files also gets compiled and deployed?Thanks in advancePrachi
[270 byte] By [prachi_janraoa] at [2007-11-27 9:45:05]
# 1
Ah, another Urg3Nt cry for help.Good luck with that.For future postings, please read this: http://www.catb.org/~esr/faqs/smart-questions.html#urgent
prometheuzza at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 2
Do you think that we are mind readers? What is the context?... and no, it isn't urgent to us.
kajbja at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 3

I actually have package PKG in which I have resource bundle I18NSupport ( which has different languages .propperties files in it like I18NSupport_en_US.properties etc)

I built the code and then tried to deploy it on the JBOSS, but that is giving me error like.........

Caused by: java.util.MissingResourceException: Can't find bundle for base name I18NSupport, locale en_US

at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)

at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)

at java.util.ResourceBundle.getBundle(ResourceBundle.java:576)

at com.martquest.util.I18NSupport.ResourceBundleName(I18NSupport.java:65)

at com.martquest.util.I18NSupport.message(I18NSupport.java:46)

at com.martquest.cache.IMqCacheManager.<clinit>(IMqCacheManager.java:37)

... 147 more

Thanks..

prachi_janraoa at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 4
I would find it rather strange for the properties file to be compiled.But then again, saying anything at all to you now, is irrelevant, as it is too late, considering how urgent this problem is.
masijade.a at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 5

Hi i am working on struts framework.

I have used property file for the purpose of internationalization

I named it as ApplicationResources.properties

and put it in a directory not a package.its not java code at all.

directory i put is "com.yashdc.strutsbank.resources"

and then in struts-config file did mapping as

<message-resources parameter="com.yashdc.strutsbank.resources.ApplicationResources"/>

it worked fine for me

the structure of my .property file file is

#Labels

label.accessnumber=Access Number

label.pinnumber=Pin Number

label.accounts=Accounts

label.balance=Balance

label.totalassets=Total Assets

label.account=Account

label.balance=Available Balance

label.description=Description

label.amount=Amount

label.deposits=Deposits

label.withdrawls=Withdrawls

label.openingbalance=Opening Balance

#Links

link.customagreement=Custom Agreement

link.privacy=Privacy

link.security=Security

link.viewaccountdetail=View Account Detail

#Page-Titles

title.login=Struts Online Bank Login Page

title.accountinfo=Account Infomation Page

title.accountdetail=Account details Page

#Button labels

label.button.login=Login

#Error messages

global.error.invalidlogin=<li>Invalid AccessNumber and/or PinNumber</li>

global.error.login.requiredfield=<li>the {0} is required for Login</li>

#Images

image.logo=images/logo.gif

image.logo.alt=Struts Online Banking

image.logout=images/logout.gif

image.logout.alt=logout

image.strutspower=images/struts-power.gif

image.strutspower.alt=Powered By Struts

image.transfer=images/transfer.gif

image.transfer.alt=transfer Funds

image.clear=images/clear.gif

I hope this will help you

Best Luck

MakAslama at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 6
Because you marked your question as urgent, I am making a special point not to read it or try to help you.
jverda at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 7
> Because you marked your question as urgent, I am> making a special point not to read it or try to help> you.<lol type="maniacal"/>
BigDaddyLoveHandlesa at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 8
i cannot provide an answer to this question in an urgent manner, only enough time to type this.
mkoryaka at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 9
on a related note:what came first: the forum or the urgent question?
mkoryaka at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 10
Isn't that like the pickup line: "Are you looking for Mr. Right, or Mr. Right Now?"
BigDaddyLoveHandlesa at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 11
Nothing says "Its urgent !!" like 10 Duke Stars Available.
RedUnderTheBeda at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 12
> Isn't that like the pickup line: "Are you looking for> Mr. Right, or Mr. Right Now?"Mr. BigDaddy, I think you're trying to seduce me.
jverda at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 13
> > Isn't that like the pickup line: "Are you looking for> > Mr. Right, or Mr. Right Now?"> > Mr. BigDaddy, I think you're trying to seduce me.We can go back to my place and order some Porno Pizza...
BigDaddyLoveHandlesa at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...
# 14

> > > Isn't that like the pickup line: "Are you looking

> for

> > > Mr. Right, or Mr. Right Now?"

> >

> > Mr. BigDaddy, I think you're trying to seduce me.

>

> We can go back to my place and order some Porno

> Pizza...

Hey! I'm not that kind of...Well, yeah, okay, I am.

jverda at 2007-7-12 23:53:09 > top of Java-index,Java Essentials,Java Programming...