The Web application that I develop is a under-part of a more total
project with applications purely Java. 
        I must use common project message resources (for errors or
exceptions messages for example)
        which were not defined in a struts application properties file.

        For the moment we have choice to use a class for each language:

        public class Appli_en extends java.util.ListResourceBundle
        {
          
          static final Object[][] contents = new String[][]
          {
            { "Line",
"-----------------------------------------------------------"},
            { "Language"            , "Language"},
            .....
          };

        public Object[][] getContents()
        {
            return (contents);
          }
           }

           public class Appli_fr extends java.util.ListResourceBundle
           {
          
          static final Object[][] contents = new String[][]
          {
            { "Line",
"-----------------------------------------------------------"},
            { "Language"            , "Langue"},
            .....
          };

          public Object[][] getContents()
          {
            return (contents);
          }
           }

           How can I call/use this resources in my web application ?
           if there is not average to use these objects we will be obliged
to store  the resources in a properties file but how 
           include the common file in the web application resources file.
There is no import? 
           I cannot duplicate each string either. 
        
                
        

                

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to