瑞鲁手机APP下载网_专注推荐好用的手机APP和游戏APP

煮糊了2中文设置方法 死或生6中文怎么设置

JSP中errorPage设置方法

人气:1引自:安卓手机APP

命运之手2中文怎么设置?命运之手2相对比1代来说,让玩家更惊艳的不是战斗及画面上的调整,而是中文字幕和界面,虽然还没有中文语音,但这都不是事,下面就一起来看看命运之手2中文设置方法吧

1.设置errorPage:errorPage.jsp

<%@page isErrorPage="true"%> <html>     <head>         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">         <title>JSP Page</title>     </head>     <body>          Error~!          <%=exception.getMessage()%>     </body> </html>

2.应用

<%@page info="Bad page"%> <%@page errorPage="errorPage.jsp" %>   //出错后转到 <html>     <head>         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">         <title>JSP Page</title>     </head>     <body>          <%                boolean tf = true;                if(tf){                     String info = getServletInfo();                     throw new Exception("Exception in:" + info);                }          %>     </body> </html>

-

 

专题文集:JSP技巧 JSP
引用标题:《煮糊了2中文设置方法 死或生6中文怎么设置》
来源地址:https://www.sdruilu.cn/index.php/news/tpart-42348.html