上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: <select name="sel" id="rtl" ><option>菜单一</option><option>菜单二</option><option>菜单三</option></select><script language="javascript"> function getselectvalue(){ var rtl=document.getElementById("rtl");//菜单一 alert 阅读全文
posted @ 2013-03-11 09:47 嗨,你的益达~~~ 阅读(140) 评论(0) 推荐(0) 编辑
摘要: jquery : $("#id").hide() $("#id").show() js: document.getElementById("dd").style.display='block'; document.getElementById("dd").style.display='none';... 阅读全文
posted @ 2013-03-11 09:42 嗨,你的益达~~~ 阅读(145) 评论(0) 推荐(0) 编辑
摘要: /** *删除某个文件夹下的所有文件 * @param fileName */ public void deleteOldFile() { //clientFilePath是某个目录,如c:/test File file = new File(clientFilePath); if (!file... 阅读全文
posted @ 2013-02-28 13:08 嗨,你的益达~~~ 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1.jsp页面传参 2.java applet接受参数 String url = getParameter("url"); String fileName = getParameter("fileName"); 阅读全文
posted @ 2013-02-28 13:06 嗨,你的益达~~~ 阅读(448) 评论(0) 推荐(0) 编辑
摘要: /** * 下载远程文件并保存到本地 * @param remoteFilePath 远程文件路径 * @param localFilePath 本地文件路径 */ public void downloadFile(String remoteFilePath, String localFile... 阅读全文
posted @ 2013-02-28 13:03 嗨,你的益达~~~ 阅读(29049) 评论(0) 推荐(0) 编辑
摘要: Applet数字签名突破Applet的安全限制,读写本地文件 第1步 编写applet程序:在src创建myApplet类 import java.applet.Applet; import java.io.BufferedInputStream; import java.io.... 阅读全文
posted @ 2013-02-28 13:00 嗨,你的益达~~~ 阅读(373) 评论(0) 推荐(0) 编辑
摘要: <DIV align=center><TABLE style="TABLE-LAYOUT: fixed" height=28 cellSpacing=0 cellPadding=0 width="80%"><TBODY><TR height=1><TD width=1></TD><TD width=1></TD><TD width=1></TD><TD bgColor=#A9A9A9></TD><TD wi 阅读全文
posted @ 2013-02-19 17:15 嗨,你的益达~~~ 阅读(201) 评论(0) 推荐(0) 编辑
摘要: script="changeDefault(this,'${itemidx}','${itemsize}')" 阅读全文
posted @ 2013-01-12 10:22 嗨,你的益达~~~ 阅读(225) 评论(0) 推荐(0) 编辑
摘要: $("document.quot;).ready(function(){ $("#btn1").click(function(){ $("[name='checkbox']").attr("checked",'true');//全选 }) $("#btn2").c... 阅读全文
posted @ 2013-01-12 10:20 嗨,你的益达~~~ 阅读(1998) 评论(0) 推荐(0) 编辑
摘要: ESCAPE只作用于它前面的转义字符,不是全局的,如果有多个需要转义,就要添加多个ESCAPESELECT * FROM MYTABLES t WHERE 1 = 1 AND (LOWER(USERNAME) LIKE LOWER('%' || 'ZHANG\_' || '%') ESCAPE '\' OR LOWER(USERACCOUNT) LIKE LOWER('ZHANG\_' || '%') ESCAPE '\' OR LOWER(DEPART) LIKE LOWER(&# 阅读全文
posted @ 2012-12-21 16:07 嗨,你的益达~~~ 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Linux重启网卡的方法重启网卡的几种方法:一、network利用root帐户# service network restart二、ifdown/ifup# ifdown eth0# ifup eth0三、ifconfig# ifconfig eth0 down# ifconfig eth0 up 阅读全文
posted @ 2012-11-22 10:42 嗨,你的益达~~~ 阅读(763) 评论(0) 推荐(0) 编辑
摘要: 命名 gc_`date '+%Y-%m-%d %H:%M:%S'`.log,11月15号21:51:58开始生成gc日志注:在哪个目录启动tomcat,就会在哪个目录生成gc日志文件 阅读全文
posted @ 2012-11-16 09:30 嗨,你的益达~~~ 阅读(865) 评论(0) 推荐(0) 编辑
摘要: 注意:servlet是单例,多用线程共享,它的成员变量就是相当于静态变量; servlet的init方法只在servlet第一被访问加载servlet时,只实例化一次,因此可作为缓存处理。 例子 1.jsp页面请求下载(携带文件名参数) 2. 下载文件的servlet1(下载目标文件不同) pac... 阅读全文
posted @ 2012-11-15 13:01 嗨,你的益达~~~ 阅读(1562) 评论(0) 推荐(0) 编辑
摘要: public class test1122{ /** * 根据取模选择不同的列表(保证code结尾的数字总是配置同一样的列表) * 请观察code与value的映射关系(规律:通过取模匹配) * 源需求:请保证以code结尾的号码总是匹配用一个list成员之一(列表) * @param args */ public static void main(String[] args) { int[] code = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; String[] list = {"A:192.168.66.16,192.168.66.17,192.168.6 阅读全文
posted @ 2012-11-12 10:54 嗨,你的益达~~~ 阅读(264) 评论(0) 推荐(0) 编辑
摘要: /中文处理 condition = request.getParameter("condition") == null ? "" : new String(request.getParameter("condition") .getBytes("ISO-8859-1"), "UTF-8"); 阅读全文
posted @ 2012-10-13 19:18 嗨,你的益达~~~ 阅读(295) 评论(0) 推荐(0) 编辑
摘要: URLEncoder.encode(str,"编码") new URLDecoder().decode(str,"编码") 博客分类: 技术札记 .net 浏览器 Web Windows CGI try { String enUft = URLEncod... 阅读全文
posted @ 2012-10-11 16:50 嗨,你的益达~~~ 阅读(13840) 评论(0) 推荐(0) 编辑
摘要: useradd -d /home/portal -s /bin/bash -g users -m portal 阅读全文
posted @ 2012-10-10 16:28 嗨,你的益达~~~ 阅读(1168) 评论(0) 推荐(0) 编辑
摘要: 根据端口号(http和https的)跳转到不同的工程例子:输入IP+8080(https:8443)跳转到myweb输入IP+8090(https:8449)跳转到mybms 思路:默认情况只输入ip+port,不输入工程名,则默认走tomcat的webapps下的root工程,走index.xml... 阅读全文
posted @ 2012-09-29 10:53 嗨,你的益达~~~ 阅读(546) 评论(0) 推荐(0) 编辑
摘要: 为防止一次性读取数据过多而内存不足,因此后台每次取出100数据统计,经过多次取; 从而完成统计! 例子如下:service方法 public class QueryClientStatisticsService{ protected ClientStatisticsDao clientStatist... 阅读全文
posted @ 2012-09-07 11:39 嗨,你的益达~~~ 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 1.web.xml的servlet配置 downloadServletcom.huawei.download.DownloadServletdownloadServlet/downloadClient/* 2.DownloadServlet public class DownloadServlet ... 阅读全文
posted @ 2012-09-05 11:30 嗨,你的益达~~~ 阅读(613) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 下一页