<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@ page import="java.util.Date"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>西安小升初</title>
</head>
<body>
<%
String sourceMessage="西安Gava not Java 培训";
application.setAttribute("message",sourceMessage);
String temp=new String();
temp=application.getAttribute("message").toString();
out.println(temp);
%>
</body>
</html>
另见:将向量绑定到application上
http://188029.net/jsp_code/j11-12-10.jsp
application对象
最新推荐文章于 2022-07-23 22:14:46 发布