⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 info.jsp

📁 tomcat最新安装程序
💻 JSP
字号:
<%@ page contentType="text/html; charset=GB2312" %>
<%@ page import="cn.com.aheadsoft.util.StringFormat" %>
<%@ page import="java.io.UnsupportedEncodingException" %>
<%@ page import="cn.com.aheadsoft.util.TheProperties" %>
<%
String errorinfo=request.getParameter("msg");
if(!TheProperties.ENCODE.equalsIgnoreCase("iso8859_1")){
errorinfo=new String(errorinfo.getBytes("iso8859_1"), "GB2312");
}
//80xx表示一些参数没有得到,但是不需要告诉用户相关信息
//81xx表示一些参数没有得到,但是需要告诉用户相关信息
//82xx表示数据库执行相关错误

      /*try {
        errorinfo = new String(errorinfo.getBytes("GB2312"), "iso8859_1");
      } catch (UnsupportedEncodingException ex) {
        errorinfo = "";
      }*/
if(errorinfo.equalsIgnoreCase("9999")){
	errorinfo="您没有权限进行此操作!";
}else if(errorinfo.equals("diary")){
   errorinfo="对不起,系统在查询工作日记时出现了错误,可能是工作日记不存在!";
}else if(errorinfo.equals("diarywrited")){
   errorinfo="您的工作日记已经填写完毕,您可以进行修改操作!";
}else if(errorinfo.equals("diarycount")){
   errorinfo="对不起,系统统计出错了!请确认您的参数选择是否正确!";
}else if(errorinfo.equals("notfound")){
   errorinfo="对不起,系统没有找到您要的记录!请重新设定查询条件!";
}
else if(errorinfo.equals("100")){
   errorinfo="您的照片已经成功上传!";
}
 %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="98%" border="0" align="center" cellspacing="2"  bordercolor="A1B7DB" class="collapse">
  <tr>
    <td height="28" align="center"  style="border-bottom:#4A7F9B 2px solid;"><font color="#336699" size="2"><strong>系统信息</strong></font></td>
</tr>
<tr>
    <td height="25" align="center" class="common"><%=(errorinfo)%></td>
</tr>          
<tr>
    <td height="25" align="center" class="common"> 
      <input name="button" type="button"  onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="history.back(1);window.close();" value="返 回" >
</td>
</tr> 

</table>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -