OK.. I dropped off this thread because some other fires sprang up at work..
but here I am back where I was a month ago.

struts.xml
<constant name="struts.custom.i18n.resources"
value="com.fiserv.sourceone.ribs.common.bundles.DbResourceBundle" />

index.jsp
<s:text name="FS_UI_ACCT_SWITCH_EN_BUTTON_GO_ACCOUNT"/> 

The value of "name" is output on the page, and the DbResourceBundle class
doesn't appear to be loaded.


J_e_f_f wrote:
> 
> D'oh! Yeah, that was a typo. Should say struts.xml.
> 
> Could you post some relevant code snippets? Also, do you see anything in
> the logs when the application starts up?  
> 
> Jeff
> 
> 
> Greg Akins-2 wrote:
>> 
>> On Fri, Jul 16, 2010 at 9:24 PM, J_e_f_f <jam0...@gmail.com> wrote:
>>>
>>> If you're specifying your DbResourceBundle class in the web.xml like:
>> 
>>                        ^^^^^^^^
>>>
>>> <constant name="struts.custom.i18n.resources"
>>> value="com.insomnia.common.bundles.DbResourceBundle" />
>>>
>> 
>> Was that a typo?  Did you mean struts.xml?  I have it in struts.xml,
>> but it doesn't seem to be getting called.  Maybe it should be in
>> web.xml .. in that case as an init-param on the Dispatcher filter.
>> Right?
>> 
>> -- 
>> Greg Akins
>> 
>> http://insomnia-consulting.org
>> http://www.pghcodingdojo.org
>> http://pittjug.dev.java.net
>> http://twitter.com/akinsgre
>> http://www.linkedin.com/in/akinsgre
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Re%3A-Any-way-to-load-resources-in-java.util.ResourceBundle-tp29182865p29522847.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to