zoukankan
html css js c++ java
JSP页面输出九九乘法表--JSP基础
index.jsp:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>
<body>
<%
String str="";
for(int i=1;i<=9;i++){
for(int j=1;j<=i;j++){
str+=j+"x"+i+"="+j*i+" ";
}
str+="<br>";
}
%>
<div>
<%=str%>
</div>
</body>
</html>
示例效果图:
查看全文
相关阅读:
poj 1753 -- Flip Game
hdu 2209 -- 翻纸牌游戏
文件系统的挂载与卸载挂载
我的vim配置(一)
Poj 3687 -- Labeling Balls
主动激发“onclick”事件;prompt
this
函数嵌套
调用函数时传递的实参个数arguments.length; ,函数定义时的形参个数sum.length
回调函数,用户定义的排序规则
原文地址:https://www.cnblogs.com/qikeyishu/p/7476599.html
最新文章
测试技能进阶图谱分享
Monkey、Monkeyrunner之间的区别
UIAutomator2、Appium、Robotium搭建环境与框架对比
MySQL、MongoDB、Redis 数据库之间的区别与使用(本章迭代更新)
测试开发工程师常见面试题
中高级测试工程师68道面试题
Flask 教程精简版之一(系列片)
bzoj3824[Usaco2014 Dec]Guard Mark 奶牛叠罗汉(II)
bzoj3312[Usaco2013 Nov]No Change不找零
bzoj3446[Usaco2014 Feb]Cow Decathlon全能奶牛
热门文章
bzoj1231[USACO 2008 Nov]Mixed Up Cows混乱的奶牛
bzoj1233[USACO2009 Open]Tower of Hay干草金字塔
[USACO2003 Mar]Cornfields玉米实验
bzoj2442[USACO2011 Open]Mowing the Lawn修建草坪
poj3659[USACO2008,Jan]Cell Phone Network手机网络
bzoj2060[USACO2010,Nov]Visiting Cows拜访奶牛
poj3260[USACO2006,Dec]The Fewest Coins最少找零
poj 2109 -- Power of Cryptography
poj 1328 -- Radar Installation
poj 2965 -- The Pilots Brothers' refrigerator
Copyright © 2011-2022 走看看