If you are modifying web.xml, doing it via and having it
available via JNDI (java:comp/env) [1] seems closest.
However, I am not sure that would be available via System.getProperty
().
Alternately, try jetty.xml (or jetty-env.xml, if possible) [2][3] to
do something like:
run.mode
productio
Thanks Xavi
> I believe you can also modify web.xml in some way, but I'm not really sure.
that would be useful as I don't have the ability to set properties on
the production environment.
I wonder if anyone else can confirm?
--~--~-~--~~~---~--~~
You received thi
One way is it to use the run.mode parameter and start your webapp
using this command:
mvn jetty:run -Drun.mode=production
I believe you can also modify web.xml in some way, but I'm not really sure.
-Xavi
On Sat, Sep 12, 2009 at 5:00 PM, george wrote:
>
> can anyone tell me how I can change th