first.jsp
来自「一个简单的jsp程序」· JSP 代码 · 共 20 行
JSP
20 行
<%@ page contentType="text/html;Charset=GB2312" %>
<html>
<body bgcolor="#99FF66">
<p>
<%
String id = session.getId();
out.println("您的session对象的ID是:<br>"+id);
String str = response.encodeRedirectURL("chaper4/tom/second.jsp");
%>
<p>输入你的姓名链接到second.jsp
<form action="<%=str%>" method="post" name="form">
<input type="text" name="boy">
<input type="submit" value="send" name="submit">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?