- 浏览: 56867 次
- 性别:
- 来自: 广州
-
最新评论
-
feng_tai_jun:
你的这个:
function IndexDemo(str2){ ...
Java String类的indexOf()方法
文章列表
首先,说说JSP/Servlet中的几个编码的作用。
在JSP/Servlet中主要有以下几个地方可以设置编 码,pageEncoding="UTF-8"、contentType="text/html;charset=UTF-8"、equest.setCharacterEncoding("UTF-8")和 response.setCharacterEncoding("UTF-8"),其中前两个只能用于JSP中,而后两个可以用于JSP和Servlet 中。
1、pageEncoding="UTF-8 ...
- 2009-11-30 21:54
- 浏览 747
- 评论(0)
一. 对于Class类我之前一直只知道有这么一个类,至于它是用来干嘛的,它的特性又是什么,我一无所知。当我学到JDBC时,出现了以下语句:
Class.forName(“com.mysql.jdbc.Driver”);
这是利用JDBC访问数据库至关重要的第一步:调用Cla ...
There is a long history of Chinese officials censoring the comments of U.S. presidents. In 1984 when President Ronald Reagan gave a speech in Beijing, state-run China Central Television cut portions that referred to the Soviet Union, religion and democracy. During Obama's inaugural speech in January, ...
- 2009-11-16 08:25
- 浏览 815
- 评论(0)
1.如果Sub类继承了Base类,那么Sub类继承了Base类哪些东西呢?分两种情况:
A.当Sub类和Base类位于同一个包中:Sub类继承Base类中public,protected和默认访问级
别的成员变量和成员方法。
B.当Sub类和Base类位于不同包中 ...
- 2009-11-16 00:41
- 浏览 973
- 评论(0)