You can also put it in web.xml and access it in your pages/services via injected symbol.

于 2014/1/8 3:15, Matthias 写道:
I thought that there is a tapestry way of doing this. But if not, I try to use the database. I actually never thought of that, so thanks for the tip.

On 07.01.2014 19:24, Bob Harner wrote:
You have all the options available to you that any other Java app provides:

1) put name/value pairs in a CONFIGURATION table in the database.
never thought of that, thanks for the tip.

2) put name/value pairs in a property file in a location of your
choosing. Java has built-in features to read property files

3) set system properties or environment variables at the OS level or
in your app's startup script, and read them using standard Java APIs

#1 is my favorite (lots of flexibility; you can even provide a web
interface to edit some of them if desired).



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to