define yours in struts-config.xml

<message-resources key="sql"
   parameter="net.wessendorf.SQLResources"/> 


in Action.clzz:
MessageResources sqlResources = getResources(request,"sql"); 

btw. keep in mind that Action's job should not be
accessing databases:
http://struts.apache.org/faqs/database.html

Regards,
Matthias
> -----Original Message-----
> From: Ruben Cepeda [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 06, 2004 5:18 PM
> To: [EMAIL PROTECTED]
> Subject: Muiltiple resource files,
> 
> 
> Hello everyone,
> 
> I want to load a resource file for my sql statements, how 
> would I go about 
> it?
> 
> 
> *************************************
> Ruben Cepeda
> [EMAIL PROTECTED]
> *************************************
> 
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search! 
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to