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 DanielJue:
http://wiki.apache.org/tapestry/Tapestry5WhereToStoreConfigurationResources

New page:
Configuration Resources often need to be stored with your web application.  
These are consumed either by your application server, or libraries in your 
application (such as Hibernate).


 * These locations a based on using a directory structure generated by Maven 
Tapestry 5 Archetype.  At the time of this writing, this is the typical way to 
start working on a Tapestry 5 project.  If your structure looks different, you 
will need to make changes accordingly.

 * Things that can go in 
   src/main/resources
      1. hibernate.cfg.xml or hibernate.properties
 
      2. log4j.properties

 * 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.

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

Reply via email to