Jsp helloWorld
2013-09-12 11:30
429 查看
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!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=ISO-8859-1"> <title>Insert title here</title> </head> <style> .tDiv { width:500px; height:auto; border:solid 2px green; margin:0px auto; } .tDiv table { width:100%; height:500px; } .tDiv table td { height:30px; lineheight:30px; text-align:center; background-color:#000; color:#FFF; } </style> <body> <div class="tDiv"> <table> <%for(int i=0;i<10;i++) {%> <tr><td> <% out.println("This is my testing data. Learn java:No."+i); %> </td></tr> <%}%> </table> </div> </body> </html>
相关文章推荐
- jsp servlet之hello world
- MyEclipse下编写JSP "Hello World"
- jsp servlet之hello world
- jsp自定义标签"helloworld"实例
- HelloWorld JSP
- ajax helloworld jsp ajax入门,后台使用jsp
- 张志宇 SERVELET JSP学习讲义-HelloWorldServlet_2
- C语言编程“Hello,world”应该怎们弄
- 《android 4高级编程》--第2章 开始入手 "又是一个hello world"
- Struts Hello World Example
- 3_13_倒序输出hello,world
- Linux内核驱动模块编写(Hello,World)
- Spring MVC hello world!
- ICE: Hello, World
- Welcome to the world of Java! ^O^ cmd + notepad + HelloWorld
- Arduino学习(一):入门篇:软硬件安装 以及 hello,world编译执行
- Hello,World之计算机组成
- 自制操作系统——01(Hello,world!)
- 因 URL 意外地以“/HelloWorld”结束,请求格式无法识别
- Spring MVC HelloWorld实现