这个问题给100分,谁解决给谁分
http://expert.csdn.net/Expert/topic/2582/2582490.xml?temp=.4899256

解决方案 »

  1.   

    <%@ include file="header.jsp" %>
    <%@ page language="Java" contentType="text/html; charset=gb2312"%>
    <%@ page errorPage="/error.jsp"%>
    <h1>Examples       </h1>
    <%
    String tdbgcolor="#E4E6FA";
    %>
    <table>
    <tr>
    <td bgcolor="<%=tdbgcolor%>">
    <a href="demo.do.v?url=/demo/config.jsp">resource</a>
    </td>
    </tr>
    <tr>
    <td>
    数据资源绑定<br>
    JSP creates output (such as HTML) from template text and scripting actions. Template text is returned verbatim to the requesting client, and actions are used to fill in dynamic values and do things conditionallly. 
    </td>
    </tr>
      

  2.   

    如果是jsp的话,在你页首加上
    <%@ page contentType="text/html;charset=gb2312"%>
    在你页面内request获得中文数据的地方
    进行iso转码如果不通过页面,仅仅访问数据库
    用Connection con = DriverManager.getConnection(yoururl?useUnicode=true&characterEncoding=gb2312)