Re: retrieving message from application.resources file

2005-08-08 Thread Jay Sheth
thnks a lot. it worked !!! Jay On 8/8/05, Gareth Evans <[EMAIL PROTECTED]> wrote: > From an Action class you can use: > String dateFormat = getResources( request ).getMessage( "global.format.date" > ); > > Or from anywhere else: > String dateFormat = MessageResources.getMessageResources( > "A

Re: retrieving message from application.resources file

2005-08-08 Thread Gareth Evans
From an Action class you can use: String dateFormat = getResources( request ).getMessage( "global.format.date" ); Or from anywhere else: String dateFormat = MessageResources.getMessageResources( "ApplicationResources" ).getMessage( "global.format.date" ) I'm not sure how well this works with s

retrieving message from application.resources file

2005-08-08 Thread Jay Sheth
Hi, I need to read a property global.format.date = dd/mm/ in a form class (eg logonform.java) from application.properties file. How do i do tht ? thanks, Jay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

retrieving message from application.resources file

2005-08-08 Thread Jay Sheth
Hi, I need to read a property global.format.date = dd/mm/ in a form class (eg logonform.java) from application.properties file. How do i do tht ? thanks, Jay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command