WEB开发网
开发学院软件开发Java WebSphere Application Server 动态高速缓存技术教... 阅读

WebSphere Application Server 动态高速缓存技术教程

 2010-08-03 00:00:00 来源:WEB开发网   
核心提示: 清单 6. parameter.jsp<!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN"><%@pagelanguage="java"contentType="tex

清单 6. parameter.jsp

 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
 <%@page language="java" contentType="text/html; charset=ISO-8859-1" 
 pageEncoding="ISO-8859-1"%> 
  
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <html> 
 <head> 
 <title>parameter.jsp</title> 
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 
 </head> 
 <body> 
 <% 
 if (request.getParameter("submit") != null) { 
  request.setAttribute("name", request.getParameter("name")); 
 } else { 
  request.setAttribute("name", "WAS"); 
 } 
 %> 
 
 <p>Input Your Name:</p> 
 <form action="parameter.jsp"> 
  <input type="text" name="name" value="<c:out value='${name}'/>"/> 
  <input type="submit" name="submit" value="Submit"/> 
 </form> 
  
 <% if (request.getParameter("submit") != null) { %> 
  The current time is: <%=new java.util.Date() %> <br /> 
  <jsp:include page="embed.jsp"></jsp:include> 
 <% } %> 
 </body> 
 </html>

上一页  3 4 5 6 7 8 9 10  下一页

Tags:WebSphere Application Server

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接