`
小哥1900
  • 浏览: 55454 次
  • 性别: Icon_minigender_1
  • 来自: 广州
文章分类
社区版块
存档分类
最新评论
文章列表
首先,说说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 ...
一. 对于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, ...
1.如果Sub类继承了Base类,那么Sub类继承了Base类哪些东西呢?分两种情况:    A.当Sub类和Base类位于同一个包中:Sub类继承Base类中public,protected和默认访问级       别的成员变量和成员方法。    B.当Sub类和Base类位于不同包中 ...
Global site tag (gtag.js) - Google Analytics