Re: Problem with internationalization in addActionError

2008-04-21 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, fine that its solved. I think this is one of the mistakes you only make once ;) stan77 schrieb: > Hi Volker, > > thanks for your replies, i solved my problem today. It was really a > stupid mistake: > > I had an other package.properties one pa

Re: Problem with internationalization in addActionError

2008-04-21 Thread stan77
Hi Volker, thanks for your replies, i solved my problem today. It was really a stupid mistake: I had an other package.properties one package above, where the entries for the Logon form were registered too. Thanks for help anyway. Volker Karlmeier wrote: > > Hi Stan, > > mostly it's just a l

Re: Problem with internationalization in addActionError

2008-04-21 Thread stan77
Hi Volker, yes, I'm sure it must be a little stupid mistake, but can't find out. The key is defined in package_en.properties and recompiling the classes has the same result. perhaps you have a look to my code. package_en.properties: ... error.login.failed=Invalid username or password. Please tr

Re: Problem with internationalization in addActionError

2008-04-21 Thread volker
Hi Stan, mostly it's just a little mistake, that makes you crazy Did you make sure that the key in the properties_en-file is existent and properly written (error.login.failed) ? I am using the same mechanism an it works without any trouble. Can only be a stupid mistake. If you are using ec

Re: Problem with internationalization in addActionError

2008-04-20 Thread stan77
Hi Volker, my Action class implements ServletRequestAware. When I check the locale with request.getParameter("request_locale"), I get 'en' as result. The both *.properties files are in the same classpath. If the logon is invalid I put the actionError and return LOGIN and go back to Logon.jsp.

Re: Problem with internationalization in addActionError

2008-04-20 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, you should try to find out, what the acutal locale is and if there is a suitable properties-file. Next, try to find out, if your properties-file is found in the right position. (Package etc.) and if it is accessible. Maybe you hav