You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2007/06/30 00:40:22 UTC
[Tapestry Wiki] Update of "Tapestry5WhereToStoreConfigurationResources" by
ErikVullings
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by ErikVullings:
http://wiki.apache.org/tapestry/Tapestry5WhereToStoreConfigurationResources
------------------------------------------------------------------------------
* Things that can go in
src/main/resources
- 1. hibernate.cfg.xml or hibernate.properties when using Hibernate.
+ 1. hibernate.cfg.xml or hibernate.properties
+
+ 2. log4j.properties
- 2. log4j.properties when using Log4J as your logger.
- 3. applicationContext.xml, when using Spring. (can also go in web.xml)
- 4. applicationContext-acegisecurity.xml, when using Spring to configure Acegi. (can also go in web.xml)
-
* Things that can go in
src/main/webapp/META-INF
1. context.xml, as used for Tomcat. In here you can put your JNDI resource settings as referenced in your web.xml. These will get appended to the server.xml file in the Tomcat/conf directory.
-
* Things that can go in
src/main/webapp/WEB-INF
1. web.xml, as used by web application containers (Tomcat/Jetty, etc) In here you can put your context parameters, filters and filter mappings, and JNDI resource references.
- 2. app.properites, the application wide message catalog. Use this for defining the labels for buttons, field labels and more.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org