[Struts] Datasource and message-resource

In my web application I use JBoss Application server.

I've defined datasource parameters in jboss-config.xml.

Must i insert the same parameters in struts-config.xml? why?

How i can use message-resource?

Thanks.

Message was edited by:

PremierITA

Adding question

[311 byte] By [PremierITAa] at [2007-11-27 6:12:55]
# 1
u should use sturts-config for the entry becoze ur entry should be ur application specific,it should not be ur server specific....if u do not use wd strut-config then ur app may not run at any other place(server)...i do not have to much any idea an JBoss...bye
devs_desirea at 2007-7-12 17:20:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
u can use message-resource in ur struts-config too <message-resources parameter="com/myapp/struts/ApplicationResource"/>parameter path of ur ApplicationResourcebye
devs_desirea at 2007-7-12 17:20:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Ok thanks, in struts-config the datasource is used in Tomcat application server.
PremierITAa at 2007-7-12 17:20:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...