作者:asp3000 email: coolknight@ 日期:2000-8-8 12:01:15 jsp文件操作之写入篇(本站文章) 转载请注明来源来源 jsp中国论坛 http://jspbbs.
Write to the file
<% ("Something to write to the file"); %> <% (()); %> <% (()); %>
import .*; /** * * Written by Morgan Catlin Email: ******@ * August 19, 1999 * * Variables: * String path = path to file to write to (ie. /you/) * String something = something to write to the file * * Methods: * void setPath() = sets path * String getPath() = returns path * void setSomething() = sets something * String getSomething() = returns something * String writeSomething() = writes something to the path, * returns a message that indicates ess or failure(an Exception) */ public class WriteOver { private String path; private String something; public WriteOver() { path = null; something = "Default message"; } // constructor WriteOver /** * Mutator for the path property */ public void setPath(String apath) { path = apath; } // mutator setPath /** * Accessor for the path property */ public String getPath() { return path; } // accessor getPathClient /** * Mutator for the something property */ public void setSomething(String asomethin
jsp文件操作之写入篇(1) 来自淘豆网m.daumloan.com转载请标明出处.