Discussions

General J2EE: problem with resource bundle

  1. problem with resource bundle (1 messages)

    Hi, This is Sathish Kumar again. we are integrating our project with another project. Now we has to implement internationalization using servlets as the project is developed in servlets. I am facing problem with the ResourceBundle concept. I would like to know whether we has to create a separate file with any extension and where should we has to place that file in our project. I created one file without any extension in eclipse and placed under webcontents. when I access with url-pattern it is throwing MissingResourceException. I want to know the exact location regarding the placement of the file for resolving exception. Thanks in advance. yours, sathish kumar.g.
  2. The file needs to be in the classpath. Include the file in the CLASSPATH when you start the App, or simply create a new package com.xxx.mypackage.resources and put the file inside the package.