jsp第二次作业

 

 

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<title>Insert title here</title>
</head>
<body>
    <%!char bigword=65,smallword=97; %>
    <%
        for(int i=0;i<26;i++){
            out.print(bigword++);
            out.print(smallword++);
            out.print(" ");
        }
     %>
</body>
</html>

 

 

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="utf_8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
<style type="text/css">
    td{
        border:1px solid;
        width: 100px;
        height: 50px;
    }
</style>
</head>
<body>
    <table>
        <%for(int i=0;i<3;i++){
            %><tr>
                <%for(int j=0;j<5;j++){
                    %><td></td><%
                } %>
            </tr><%
        } %>
    </table>
</body>
</html>

 

posted on 2020-03-23 12:01  福来了  阅读(172)  评论(0编辑  收藏  举报