Chinaunix首页 | 论坛 | 博客
  • 博客访问: 916462
  • 博文数量: 177
  • 博客积分: 8613
  • 博客等级: 中将
  • 技术积分: 2835
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-12 04:16
文章分类
文章存档

2012年(12)

2011年(24)

2010年(24)

2009年(75)

2008年(42)

我的朋友

分类: Java

2011-11-08 14:14:35

$ cat test3.jsp 
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

 
   
    
    My JSP 'index.jsp' starting page
       
       
           
       
       
       
 
  
 
  <%
                Random num = new Random();
                int intrand = num.nextInt(180)+20;
                Thread.sleep(intrand);
                out.println(intrand);
                response.sendRedirect("/test.jsp");
   %>
    
 
阅读(553) | 评论(0) | 转发(0) |
0

上一篇:mp3剪切器

下一篇:python 读管道直到结束

给主人留下些什么吧!~~