With this configuration you must put the resource files in your classes directory!
Have you tried version 2.2?

Regards,
Henner


> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von Neal
> Gesendet: Dienstag, 24. Februar 2004 17:39
> An: [EMAIL PROTECTED]
> Betreff: [dbforms] Localization problems
> 
> 
> I am trying to use the localization feature and cannot seem 
> to get it to work, I might just be missing some simple step.
> 
> Web.xml
>       <servlet>
>               <servlet-name>org.dbforms.ConfigServlet</servlet-name>
>               <servlet-class>org.dbforms.ConfigServlet</servlet-class>
>               <init-param>
>                       <param-name>resourceBundle</param-name>
>                       <param-value>ApplicationResources</param-value>
>               </init-param>
>               <load-on-startup>1</load-on-startup>
>       </servlet>
> 
> index.jsp
> <%@ page contentType="text/html;charset=UTF-8" 
> language="java" %> <%@ taglib uri="/WEB-INF/dbforms.tld" 
> prefix="db" %> <html xmlns:db="http://www.wap-force.com/dbforms";>
> <head>
> <title>Test One</title>
> </head>
> <body class="clsPageBody">
> HELLO
> <db:message key="msg.one"/>
> <db:message key="msg.two"/>
> </body>
> </html>
> 
> I have 2 files,
> ApplicationResources.properties and 
> ApplicationResources_th.properties.
> I have tried putting them in the base directory, ./WEB-INF, 
> and ./WEB-INF/lib
> 
> I am using tomcat, and dbforms1.1.3. on windows xp
> 
> All I ever see is 'msg.one' 'msg.two', not the messages in 
> ApplicationResources.properties
> 
> 
> Thanks in advance
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now! 
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438> &op=click
> 
> _______________________________________________
> 
> DbForms Mailing List
> 
http://www.wap-force.net/dbforms



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to