命运之手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>
-