Manish Pandit napisal(a):
> Try this:
>
[quoted text clipped - 12 lines]
> -cheers,
> Manish
OK, thanks. But how to give properties to the application? Is it
possible to create a config file with the properties and force the
application to read it during the startup? I don't know it...:-/
Manish Pandit - 08 Nov 2006 10:08 GMT
> OK, thanks. But how to give properties to the application? Is it
> possible to create a config file with the properties and force the
> application to read it during the startup? I don't know it...:-/
Yes, it is possible. Some (easy) ways are :
-By having a properties file on the disk with name=value formatted
properties
-Using -D<name>=<value> option for the jvm when you run your program.
-cheers,
Manish