![]() ![]()
1. 打印设置 打印预览
<SCRIPT LANGUAGE=javascript> <!-- function setPrint() { WB.ExecWB(8,1); } function previewPrint() { WB.ExecWB(7,1) } //--> </SCRIPT> <tr> <td><input type="button" value="打印设置" id=button1 name=button1 οnclick="setPrint();"> </td> <td> <input type="button" value="打印预览" id=button2 name=button2 οnclick="previewPrint();"></td> </tr> linux 设置ip。 http://hi.baidu.com/slash_gao/blog/item/0e9f9acb4694b51abf09e64a.html 2.classid="CLSID:0002E559-0000-0000-C000-000000000046" <meta name=Generator content="Microsoft Excel 11"> 3. 千万 别硬整utf-16 编码格式,后果很严重,可能会导致eclipse的该空间启动不了,不得不换空间,或删掉本空间的配置。 4.今天的关于新闻页面的 头文件的问题。 tycj/news.jsp <!-- DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 5.<html> <META HTTP-EQUIV="Refresh" CONTENT="0.1;URL=maintest1.jsp?whichexam=<%=whichexam%>&open_course_id=<%=open_course_id%>"> <%@ include file="/work/function/pub/mhead.jsp"%> <body> <a href="maintest1.jsp">返回</a> </body> </html 6. 得到完整地址。 String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String basePath1 = basePath +"index.jsp"; <a onClick="SetHome(this,'<%=basePath1%>')" style="cursor:hand">设为首页</a> <a onClick="AddFavorite('<%=basePath1%>',document.title)" style="cursor:hand">加入收藏</a> |