jsp 基础语法
<html> <body> <h2>code/ </h2> <% !int day=3; %> <%if(a==1){%> <p>你好</p> <%}else{%> <p>开始了</p> <%}%> <% switch(day){ case 0: out.printIn("1"); break; case 1: out.println("2"); break; default: out.println("dd"); } %> <%if(a=1;a<=3; a++){%> <%}%> </body> </html>