This content has been marked as final.
Show 5 replies
-
-
2. Re: Parameters in sstandalone.xml?
jaikiran Mar 6, 2012 4:12 AM (in response to tomek.f)What kind of parameters?
-
3. Re: Parameters in sstandalone.xml?
tomek.f Mar 6, 2012 4:14 AM (in response to jaikiran)Helllo jaikiran.
Simple String parameter for example file path.
-
4. Re: Parameters in sstandalone.xml?
prasad.deshpande Mar 6, 2012 12:24 PM (in response to tomek.f)It's not exactly as defining as a "parameter", but you can define system-properties in standalone.xml like:
<system-properties> <property name="myProperty" value="myValue" /> </system-properties> & access it in the code as:
String value = System.getProperty("myProperty");
-
5. Re: Parameters in sstandalone.xml?
tomek.f Mar 7, 2012 3:38 AM (in response to prasad.deshpande)Perfect!! Thank you vm.