日期:2014-05-18  浏览次数:20637 次

为什么我添加的中文 调用以后显示的是问号 用了论坛的方法还是不能解决
<%@   page   contentType= "text/html;charset=gb2312 "%>
<jsp:useBean   id= "fbzw "   scope= "page "   class= "hr.run.op_fbzw "   />
<%@   page   import= "com.xuandong.util.* "   %>
<%  
String   userid   =   (String)session.getAttribute( "id ");
try
{
if(tool.checkperm(userid, "work_l "))
getServletContext().getRequestDispatcher( "/managers/error1.jsp ").forward(request,response);
}catch(Exception   e){
System.out.println(e);
}

%>
<%
String   mesg   =   " ";
String   submit   =   request.getParameter( "Submit ");
if   (submit!=null   &&   !submit.equals( " ")){
if(fbzw.getRequest(request)){
if(fbzw.insert()){
mesg   =   "职位提交成功! ";
}   else   {
mesg   =   "数据库操作失败! ";
}
}else   {
mesg   =   "对不起,你提交的参数不正确! ";
}
}
%>

<html>
<head>
<meta   http-equiv= "Content-Type "   content= "text/html "   charset= "gbk ">
<title> 发布新职位 </title>
   
    <!--   calendar   stylesheet   -->
    <link   rel= "stylesheet "   type= "text/css "   media= "all "   href= "../Styles/calendar-blue.css "   title= "calendar-blue "   />
    <!--   main   calendar   program   -->
    <script   type= "text/javascript "   src= "../Js/Calendar.js "> </script>
    <!--   language   for   the   calendar   -->
    <script   type= "text/javascript "   src= "../Js/Calendar-zh.js "> </script>
    <!--   the   following   script   defines   the   Calendar.setup   helper   function,   which   makes
              adding   a   calendar   a   matter   of   1   or   2   lines   of   code.   -->
    <script   type= "text/javascript "   src= "../Js/Calendar-Setup.js "> </script>
   
    <script   type= "text/javascript "   src= "../Js/checkData.js "> </script>
   
    <script   language=JavaScript>
    <!--
function   checkForm()
{
if(form1.dept.value== " ")
{
alert( "请填写招聘部门! ");
form1.dept.focus();
return   false;
}

if(form1.jobName.value   ==   " ")
{
alert( "请填写岗位名称! ");
form1.jobName.focus();
return   false;
}

if(form1.deptName.value   ==   " ")
{
alert( "请填选择发布区域! ");
form1.deptName.focus();
return   false;
}

if(!isPosIntegerStr(form1.xqrs.value))
{
alert( "请检查需求人数是否正确! ");
form1.xq