Skip to Content
2
Former Member
Aug 10, 2007 at 04:31 AM

Error : java.util.MissingResourceException

158 Views

Hi Friends,

I had developed one web dynpro application by using Internationalization - I18N of WebDynPro (Java) Application (Blog) but I got one error that is

<b>java.util.MissingResourceException: Can't find bundle for base name com.sap.example.language.lang, locale en_US</b> Actually i created two properties file

1. lang_en.properties

2. lang_ta.properties

I stored this two properties file in this package com.sap.example.language

and this my code in DOInit()

sessionLocale = WDClientUser.getCurrentUser().getLocale();

resourceHandler = ResourceBundle.getBundle("com.sap.example.language.lang",sessionLocale);

}

catch (WDUMException e)

{

e.printStackTrace();

}

wdContext.currentContextElement().setUsername_label(resourceHandler.getString("testview.username"));

wdContext.currentContextElement().setPassword_label(resourceHandler.getString("testview.password"));

How to solve this error?

Guide me.

Advance Thanks,

Balaji