?? function.jsp
字號:
<%@ taglib prefix="myfun" uri="http://hellking.com/function"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ page contentType="text/html; charset=gb2312" language="java" %>
<%@ page isELIgnored ="false" %>
<html>
<head>
<title>表達式語言的使用</title>
</head>
<body bgcolor="#FFFFFF">
<hr>提交的內容是:
${myfun:trans(param.name)}
<hr>
<form action="function.jsp" method=get name=form1>
<input type=text name="name">
<input type=submit value=提交>
</form>
<hr>
<hr>
另一個函數的使用,結果是:
${myfun:add(param["x"],param["y"])}
<form action="function.jsp" method=get name=form2>
<input type=text name="x">
<input type=text name="y">
<input type=submit value=提交>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -