Hi,i am Usha.
I trying to work with Internationalization and presently i am at the basics.
I have written the properties file and then called it with getBundle in the
servlet.But as in case of Mr.David
i too am getting a 'MissingBundle Exception'.I have the properties file in the same
dir as the the servlet.
Should i ste something or what is the problem?
thanks.
"Craig R. McClanahan" wrote:
> David Mossakowski wrote:
>
> > I must be doing something *really* dumb but I can't see it.
> >
> > I can load property files OK whether they're in a package or not but not classes.
> > Weird. All I'm trying to do is to load the base class. Before, when I was trying,
> > I was getting the MissingResourceException but now... The error produced is this
> > (!):
> >
> > { (Running servlet) java.lang.NoClassDefFoundError:
>
> Usually, a NoClassDefFoundError exception means that one of your classes (the one
>that throws the
> exception) is referring to some other class that cannot be found on your classpath.
>Do your
> ListResourceBundle classes refer to any Java classes on their import lists? Are
>those actual classes
> visible to the servlet engine when you are running?
>
> >
> > com/instinet/ed/resources/LanguageResources (wrong name: LanguageResources)
>
> I have not ever seen this one. Could you post (or send me privately since it is
>sorta off topic) a snippet
> of one of your ListResourceBundle classes? I'm interested in the package
>declaration (should be
> com.instinet.ed.resources based on the above), the import statements, and the class
>declaration -- which
> should be something like:
>
> public class LanguageResources_en_GB extends ListResourceBundle
>
> for the British English version (which should, of course, be in source file
>"LanguageResources_en_GB.java"
> in the appropriate directory for this package).
>
> Craig
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html