摘要:
输出结果:sb:abcdefghij sb_sub:de sc:0123456789 sc_sub:34 sb_copy:abcdefghij 二、方法: 说明: ①、所有方法均为public。 ②、书写格式: [修饰符] <返回类型><方法名([参数列表])> 例如:static int pars 阅读全文
posted @ 2015-11-25 21:12
Ficow
阅读(361)
评论(0)
推荐(0)
摘要:
1 URL url = new URL(strUrl); 2 URLConnection con = url.openConnection(); 1 URL url = new URL(strUrl); 2 HttpURLConnection con = (HttpURLConnection)url.openConnection(); 阅读全文
posted @ 2015-11-25 20:54
Ficow
阅读(1124)
评论(1)
推荐(0)
摘要:
阅读全文
posted @ 2015-11-25 20:51
Ficow
阅读(2206)
评论(0)
推荐(0)
摘要:
1、打开 Eclipse -> Window -> Perferences -> Java -> Editor -> Content Assist,在右边最下面一栏找到 auto-Activation ,下面有三个选项,找到第二个“Auto activation triggers for Java: 阅读全文
posted @ 2015-11-25 19:50
Ficow
阅读(2465)
评论(1)
推荐(0)
摘要:
使用Tomcat服务器时,访问地址的 localhost 改为 127.0.0.1 即可看到效果。 阅读全文
posted @ 2015-11-25 18:42
Ficow
阅读(3042)
评论(0)
推荐(0)
摘要:
创建的项目类型为WEB PROJECT。 新建的.JSP文件,可直接访问的放到WebRoot目录下,不可直接访问的就放到WEB-INF里。 要添加的.jar文件,复制到项目目录内,再右键Build Path - Add to build Path Deploy时,选择好服务器,如:Tomcat 7. 阅读全文
posted @ 2015-11-25 18:35
Ficow
阅读(1007)
评论(0)
推荐(0)

浙公网安备 33010602011771号