<%-- Created by IntelliJ IDEA. User: xc Date: 2021/11/7 Time: 19:36 To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <head> <title>循环</title> </head> <body> <% for (int i = 0; i <10;i++){ out.println("我要学好jsp,"); } %> </body> </html>
在JSP页面中输出10行“我要学好JSP”
最新推荐文章于 2022-12-07 03:32:31 发布