Hi all! I've got some hard coded urls in a servlet. I want to move them in a properties file so thatif i change them i need not recompile my servlet. Anyone knows how to make this properties file?? Regards Danish Shaukat
the easiest way is to put the properties file in a directory on the classpath of your servlet. Check the docs on how to load properties from a file. The convention is to the name the file something like yourapp.properties.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR> fantastic, a towel? <HR></BLOCKQUOTE>