struts 2 - where should I set global application variables?
Posted
by Nicola Montecchio
on Stack Overflow
See other posts from Stack Overflow
or by Nicola Montecchio
Published on 2010-04-28T14:52:33Z
Indexed on
2010/05/07
4:38 UTC
Read the original article
Hit count: 357
Hi
I'm using struts 2 and I'd like to read some custom-defined parameters (global variables), preferably from web.xml or some custom ".properties" file (i.e. not hardcoded in the Java sources). This problem has been driving me mad for the past half hour as I can't google any reasonable solution.
What is the best way to do this? I find it strange that it is so difficult ...
all the best
Nicola Montecchio
© Stack Overflow or respective owner