trans.jsp

来自「基于WEB的商品管理系统」· JSP 代码 · 共 30 行

JSP
30
字号
<%--The taglib directive below imports the JSTL library. If you uncomment it,you must also add the JSTL library to the project. The Add Library... actionon Libraries node in Projects view can be used to add the JSTL 1.1 library.--%><%--<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> --%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"   "http://www.w3.org/TR/html4/loose.dtd"><%@ page import="java.io.*"%><%! String trans(String chi){               String result = "";               byte temp [];               try               {                       temp=chi.getBytes("iso-8859-1");                      result = new String(temp);                }                catch(UnsupportedEncodingException e)                {                        System.out.println (e.toString());                }			return result;}%>

⌨️ 快捷键说明

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