Question : java include : a simple question

Hello experts,
I have a variable that points to an url
String url="http://www.mysite.com";

I need this url to be changed without compiling the source code.
The ideal solution would be an include file like in php
something like :
include "config.php"

Notice, this cannot work as args, since this class is not being executed direclty but through another java application.

To summerize: what would be the best solution to externalize this variable (without using args) ?

regards

Answer : java include : a simple question

Hmm. Try changing it to: "21232f297a57a5a743894a0e4a801fc3". This is not salted, but I think joomla will create the salt after you log in for the first time. The hash value is "admin"
Random Solutions  
 
programming4us programming4us