struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: OutputStreamPath
Date Thu, 01 Mar 2007 21:08:44 GMT
--- Laurie Harper <laurie@holoweb.net> wrote:
>      URL res = Thread.currentThread()
>          .getContextClassLoader()
>          .getResource(pathToConfigurationFile);
>      // Save the properties
>      OutputStream out = new FileOutputStream(res);
>      properties.store(out, "");

Ooo, I didn't know that.

Hopefully I'll never want to use it, but still really
good to know! :)

d.



 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message