摘要:
String path = ""; String str = ""; FileWriter writer; try { path = ""; path = "c:/test/test.txt";//目录 writer = new FileWriter(path); writer.write("123"); //到达指定目录writer.close(); } catch (IOException e2) { e2.printStackTrace(); } 阅读全文
摘要:
引用:http://zhidao.baidu.com/question/88934003.html提示:把代码保存为a.htm即可预览效果<script> function setDivBG(s) { document.getElementById("div1").className=s; } </script> <head><style type="text/css"> .style1 { width: 100px; height: 100px; background-image:url('htt 阅读全文