dcsimg

How can I set a System property in a servlet?

Chandra Patni

You can simply use System.setProperty("propertyKey", "PropertyValue") method in a servlet.